POST
/
v1
/
api_tokens

Authorizations

Authorization
string
header
required

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

Body

application/json

An ApiToken is a unique identifier that you can use to authenticate requests to the API. You can create as many ApiTokens as you need.

name
string
required

The name of the ApiToken.

expires_at
string

The time this ApiToken expires.

Response

200 - application/json

An ApiToken is a unique identifier that you can use to authenticate requests to the API. You can create as many ApiTokens as you need.

created_at
string

Time at which the object was created.

expires_at
string

The time this ApiToken expires.

from_browser
boolean

Whether this ApiToken was created from the browser.

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.

last_used_at
string

The last time this ApiToken was used.

name
string

The name of the ApiToken.

object
string

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

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.

updated_at
string

Time at which the object was last updated.

user_id
string

The ID of the user that created this ApiToken.