Skip to main content

Generate access token

POST 

/v1/auth

Generate an access token which can be used to access the other API endpoints.

This endpoint does not take a request body. Pass your long-lived client credentials using HTTP Basic authentication: first, base64-encode the string <client_id>:<client_secret> (including the colon separator), then pass the HTTP header Authorization: Basic <encoded_credentials>. Some tools and frameworks have higher-level support for Basic auth and will do this encoding for you, in which case your username is your client_id and your password is your client_secret.

Access tokens expire after 1 hour.

Responses

OK