/apis/access_tokens

Creates a new access token for use with analytics APIs.

API-Result

The response contains the following information about the access token:

creation_time long
The date/time when the access token was created.

expiration_time long
The date/time when the access token expires.

id string
The unique ID of the access token. This ID can be used for subsequent endpoint calls that perform maintenance on the access token, such as deactivating the access token.

name string
The name of the token.

scopes array of strings
The name(s) of the scope(s) to authorize access to using this access token.

status string
Indicates the current status of the access token. By default, a newly created access token is active.

token string
The access token for use with analytics endpoints. Be sure to store this access token because it cannot be retrieved again.

user_name string
The name of the user who created the token.

Language
Response
Click Try It! to start a request and see the response here!