API Reference

BearerToken

Properties

NameTypeDescriptionRestrictions
access_tokenstringThe opaque string used to authorize and make requests on behalf of the user
expires_inintegerThe number of seconds the access token is valid
scopestringThe limits of the user's access with the token, such as Read or Create
token_typestringThe type of access token; typically bearer

Example

{
  "access_token": "string",
  "expires_in": 0,
  "scope": "string",
  "token_type": "string"
}

Error

Properties

NameTypeDescriptionRestrictions
errorstringThe possible error codes are:

- invalid_request - The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.

- unauthorized_client - The client is not authorized to request an authorization code using this method.

- access_denied - The resource owner or authorization server denied the request.

- unsupported_response_type - The authorization server does not support obtaining an authorization code using this method.

- invalid_scope - The requested scope is invalid, unknown, or malformed.

- server_error - The authorization server encountered an unexpected condition that prevented it from fulfilling the request.

- temporarily_unavailable - The authorization server is currently unable to handle
the request due to a temporary overloading or maintenance of the server.
error_descriptionstringHuman-readable ASCII text providing additional information.
error_uristringA URI identifying a human-readable web page with information about the error.

Example

{
  "error": "string",
  "error_description": "string",
  "error_uri": "string"
}