Client authorization

In order to access information related to your application, you must obtain an access token using the client credentials grant.

Client credentials grant flow

POST https://AUTH_DOMAIN/oauth/token

Path Parameters

NameTypeDescription

client_id

string

Your API application ID

client_secret

string

Your API application secret

scope

string

A space-separated list of authorization scopes to request. If not mentioned, it defaults to uid:read. You'll need to provide a token with the client.stats:read scope in order to access application statistics for example.

grant_type

string

client_credentials

{
  "access_token":"OUuf_tJs-J2AAxjWr0JHvzFure5Eb7KMUQRO0jpqXWc",
  "token_type":"Bearer",
  "expires_in":7200,
  "scope":"client.stats:read",
  "created_at":1554400723
}

Last updated