Generate a token with an API key and client secret
POST
/v1/auth/tokenGenerate a token with an API key and client secret via an OAuth client credentials grant.
Request
Body Params application/json
client_id
string
required
The APIKey ID for which a token is requested
client_secret
string
required
The api key secret
Example
{
"client_id": "string",
"client_secret": "string"
}
Request samples
Responses
Success(200)
Payload when auth header is missing or invalid(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
access_token
string
required
JWT token that can be used for making authorized subsequent requests
expires_in
number
required
Number of seconds before the token expires
Example:
3600
token_type
string
required
The type of token being returned
Example
Not configured
Last modified: 9 months ago