Skip to main content
POST
/
v1
/
oauth
/
token
Obtain Access Token
curl --request POST \
  --url https://api.aspect-dev.systems/v1/oauth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "grant_type": "client_credentials",
  "client_id": "<string>",
  "client_secret": "<string>"
}
'
{
  "token_type": "Bearer",
  "expires_in": 2592000,
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
}

Body

application/json
grant_type
enum<string>
required
Available options:
client_credentials
client_id
string
required
client_secret
string
required

Response

token_type
enum<string>
required
Available options:
Bearer
expires_in
enum<integer>
required
Available options:
2592000
access_token
enum<string>
required
Available options:
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...