Get OAuth2 access token
Exchange CorpX-issued client credentials for an access token.
Use the returned access_token as a Bearer token when calling other API endpoints.
Request
This endpoint expects an object.
grant_type
OAuth2 grant type. Only client_credentials is supported.
Allowed values:
client_id
CorpX-issued client ID.
client_secret
CorpX-issued client secret.
scope
Optional space-delimited scopes. Leave blank to request default scopes.
Response
Access token issued successfully.
access_token
Access token to be provided in the Authorization header.
token_type
expires_in
Expiration time in seconds.
scope
Scopes granted to the token.
Errors
400
Bad Request Error