Post
/api/v1/iam/session/oauth2/token
Authenticate using the Oauth 2.0 Client Credentials flow.
To call this you must provide the form url encoded app ID and the form url encoded API key in the form of a Basic auth header.
Body parameters
Conforms to RFC 6749 Section 4.4.2.
object
grant_type
string
Valid values[
"client_credentials"
]
Responses
200
Success result.
object
Example{
"access_token": "2YotnFZFEjr1zCsicMWpAA",
"expires_in": 3600,
"token_type": "Bearer"
}
access_token
string
expires_in
integer
Token lifetime in seconds.
token_type
string
401
Invalid credentials.
object
error
string
Conforms to RFC 6749 Section 5.2.
Valid values[
"invalid_client",
"invalid_grant",
"invalid_request",
"invalid_scope",
"unauthorized_client",
"unsupported_grant_type"
]
error_description
string
error_uri
string