Skip to main content

Create a secret key for a dealership

POST 

/agency/dealerships/:id/keys

An ordinary secret key (vh_live_sk_, or vh_test_sk_ with environment: test) for one dealership, for a tool that serves that dealer only. Its scopes must be among the agency key's dealer scopes. It acts as the agency's own user in the dealership, shows in the dealer's DMS, and stops working if the dealer turns the agency's access off or leaves the agency. The secret is in this response only. Scope agency:keys:write.

Request​

Responses​

The key, with its secret, shown this once.

Response Headers
    X-Request-Id

    This request's id. Quote it to support.

    X-RateLimit-Limit

    Requests allowed per minute for this key.

    X-RateLimit-Remaining

    Requests left in the current minute.

    Idempotent-Replayed

    true when this is the stored response to an earlier request with the same Idempotency-Key.