Get an access token
Request an access token by authenticating your application using OAuth 2.0 (client credentials grant)
application/x-www-form-urlencoded
Request Body
grant_type GrantType required
Possible values: [client_credentials
]
The type of OpenID Connect grant to execute
client_id string required
The client id of the application requesting a token
client_secret string required
The client secret of the application requesting a token
Responses
- 200
- 400
- 422
- 500
Success
application/json
Schema
Example (from schema)
Schema
access_token string nullable
JWT bearer token providing access to BigChange REST APIs
expires_in int32
Number of seconds before the access token expires
{
"access_token": "string",
"expires_in": 0
}
Bad Request
application/json
Schema
Example (from schema)
Schema
type string nullable
title string nullable
status int32 nullable
detail string nullable
instance string nullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Client Error
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
errors object nullable
property name* string[] nullable
string
type string nullable
title string nullable
status int32 nullable
detail string nullable
instance string nullable
{
"errors": {},
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Server Error
application/json
Schema
Example (from schema)
Schema
type string nullable
title string nullable
status int32 nullable
detail string nullable
instance string nullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...