Skip to main content
POST
/
auth
/
token
cURL
curl --request POST \
  --url https://api.atlast.co/v1/auth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "<string>",
  "client_secret": "<string>",
  "grant_type": "client_credentials"
}'
{
  "access_token": "<string>",
  "expires_in": 1,
  "token_type": "Bearer"
}

Body

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

Response

200 - application/json

The request has succeeded.

access_token
string
required
expires_in
integer
required
Required range: x >= 0
token_type
enum<string>
required
Available options:
Bearer