Auth

Exchange credentials for an access token

post
/auth/token
Authorizations
Body
client_idstringRequired
client_secretstringOptional
grant_typestring · enumRequiredPossible values:
refresh_tokenstringOptional
Responses
200

Bearer token

application/json
post
/auth/token
POST /v1/auth/token HTTP/1.1
Host: api.haloproject.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "client_id": "text",
  "client_secret": "text",
  "grant_type": "client_credentials",
  "refresh_token": "text"
}
200

Bearer token

{
  "access_token": "text",
  "token_type": "Bearer",
  "expires_in": 3600
}

Last updated

Was this helpful?