Obtain an access token
Obtain a new OAuth 2.0 access token using an OAuth 2.0 client ID/secret pair.
- application/x-www-form-urlencoded
Request Body
- MOD1
- MOD2
- MOD3
- scope stringList of OAuth2 scopes, delimited with spaces. 
- grant_type string requiredPossible values: [ client_credentials,authorization_code,refresh_token]
- grant_type string requiredPossible values: [ client_credentials,authorization_code,refresh_token]
- code string required
- redirect_uri string required
- client_id string requiredThe client identifier. 
- client_secret stringThe client secret key. 
- code_challenge string
- grant_type string requiredPossible values: [ client_credentials,authorization_code,refresh_token]
- refresh_token string required
- scope stringList of OAuth2 scopes, delimited with spaces. 
- 200
- 400
- 403
OK
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
- access_token string
- expires_in integerNumber of seconds until the token expires. 
- scope stringList of OAuth2 scopes, delimited with spaces. 
- token_type stringPossible values: [ bearer]
- access_token string
- refresh_token string
- id_token string
- expires_in integerNumber of seconds until the token expires. 
- scope stringList of OAuth2 scopes, delimited with spaces. 
- token_type stringPossible values: [ bearer]
- access_token string
- refresh_token string
- id_token string
- expires_in integerNumber of seconds until the token expires. 
- scope stringList of OAuth2 scopes, delimited with spaces. 
- token_type stringPossible values: [ bearer]
{
  "access_token": "string",
  "expires_in": 0,
  "scope": "string",
  "token_type": "bearer"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- meta object- pagination objectlimit integeroffset integertotal_count int64
- errors object[]httpcode integermessage string
{
  "meta": {
    "pagination": {
      "limit": 0,
      "offset": 0,
      "total_count": 0
    }
  },
  "errors": [
    {
      "httpcode": 0,
      "message": "string"
    }
  ]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- meta object- pagination objectlimit integeroffset integertotal_count int64
- errors object[]httpcode integermessage string
{
  "meta": {
    "pagination": {
      "limit": 0,
      "offset": 0,
      "total_count": 0
    }
  },
  "errors": [
    {
      "httpcode": 0,
      "message": "string"
    }
  ]
}