POST
/
v1
/
api_tokens

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Body

application/json
name
string
required

The name of the ApiToken.

expires_at
string

The time this ApiToken expires.

Response

200 - application/json
object
string

String representing the object’s type. Objects of the same type share the same value.

id
string

This is the internal ID for this ApiToken. You don’t need to record this information, since you will not need to use it.

user_id
string

The ID of the user that created this ApiToken.

name
string

The name of the ApiToken.

from_browser
boolean

Whether this ApiToken was created from the browser.

last_used_at
string

The last time this ApiToken was used.

expires_at
string

The time this ApiToken expires.

created_at
string

Time at which the object was created.

updated_at
string

Time at which the object was last updated.

token
string

The actual token that you will use to authenticate your requests. > Be careful, this token is only returned once, when the token is created.