Retrieve an Access Token
get
/api/v2/tokens/{id}/
Make GET request to this resource to retrieve a single access token record containing the following fields:
id: Database ID for this access token. (integer)type: Data type for this access token. (choice)url: URL for this access token. (string)related: Data structure with URLs of related resources. (object)summary_fields: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created: Timestamp when this access token was created. (datetime)modified: Timestamp when this access token was last modified. (datetime)description: Optional description of this access token. (string)user: The user representing the token owner (id)token: (string)refresh_token: (field)application: (id)expires: (datetime)scope: Allowed scopes, further restricts user's permissions. Must be a simple space-separated string with allowed scopes ['read', 'write']. (string)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : OAuth2TokenDetail
Type:
Show Source
object-
application:
integer
Title:
ApplicationRead Only:true -
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
expires:
string(date-time)
Title:
ExpiresRead Only:true -
id:
integer
Title:
IdRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
refresh_token:
string
Title:
Refresh tokenRead Only:true - related: string
-
scope:
string
Title:
ScopeDefault Value:writeAllowed scopes, further restricts user's permissions. Must be a simple space-separated string with allowed scopes ['read', 'write']. -
summary_fields:
string
Title:
Summary fieldsRead Only:true -
token:
string
Title:
TokenRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true -
user:
integer
Title:
UserRead Only:trueThe user representing the token owner