Access token
A token that can be used to make authenticated API calls.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
access_token | string | No | The requested access token. |
expires_in | integer | No | The time in seconds by which this token will expire. |
token_type | enum<string> | No | The type of access token returned. Available options: bearer. |
restricted_to | array of Resource scope | No | The permissions that this access token permits, providing a list of resources (files, folders, etc) and the scopes permitted for each of those resources. |
refresh_token | string | No | The refresh token for this access token, which can be used to request a new access token when the current one expires. |
issued_token_type | enum<string> | No | The type of downscoped access token returned. This is only returned if an access token has been downscoped. Available options: urn:ietf:params:oauth:token-type:access_token. |
Example
OAuth 2.0 error
An OAuth 2.0 error.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
error | string | No | The type of the error returned. |
error_description | string | No | The type of the error returned. |
Example
