Skip to main content
POST
Create Api Token

Authorizations

Authorization
string
header
required

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

Headers

xi-api-key
string | null
x-api-key
string | null

Body

application/json
name
string
required

Response

Successful Response

created_at
integer
required

creation unix timestamp

name
string
required
token_id
string
required
token
string
required

the secret; this reply is the only place it is ever returned

allowed_ips
string[] | null
prefix
string
default:""

sk-di-, or empty on a token minted before it

fragment
string
default:""

display suffix; last 5 chars of the secret