Get Access Token

Use the client ID and client secret provided by Blameless to execute a client credential’s oAuth flow to get an access token.

HEADER

content-type: application/json

TYPE

GET

REQUIRED

No

URL

https://blamelesshq.auth0.com/oauth/token

PropertyTypeRequiredDescription
MethodGET
CustomerstringYesThe slug of your organization cluster
PathstringYes/api/v1/incidents/<incidentId>
AuthBearer with valid authorization token
Path ParametersintegerYesThe incident ID
client_idintegerYes\<client ID\> Id key assigned
client _secretintegerYes\<client secret\> Key for security
audiencestringYes​\<customer\>​.blameless.io
grant_typestringYesclient_credentials client authenticaion string

SAMPLE

{
"client_id": "​\<client ID\>​",
"client_secret": "​\<client secret\>​",
"audience": "​\<customer\>​.blameless.io",
"grant_type": "client_credentials"
}

Example Request

curl https://blamelesshq.auth0.com/oauth/token \\
\-X POST \\
\-H "content-type: application/json" \\
\-d
'{"client_id":"***​","client_secret":"***​","audience":"​cruise​.blameless.io","grant_type":
"client_credentials"}'

Example Response

{
"access_token": "****",
"token_type": "Bearer"
}