Skip to main content
POST
/
oauth2
/
token
cURL
curl -X POST \
  https://api.sakari.io/oauth2/token \
  -H 'Content-Type: application/json' \
  -d '{
  "grant_type": "client_credentials",
  "client_id": "12345678-1234-1234-1234-123456789012",
  "client_secret": "87654321-4321-4321-4321-098765432121"
}'
{
  "access_token": "<string>",
  "token_type": "<string>"
}

Body

application/json
grant_type
string
Example:

"client_credentials"

client_id
string
Example:

"00000000-0000-0000-0000-00000000000"

client_secret
string
Example:

"00000000-0000-0000-0000-00000000000"

Response

successful operation

access_token
string
token_type
string