Skip to main content
POST
Create API key

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
environment
enum<string>
required
Available options:
live,
test
permissions
string[]
allowed_ips
string[]
rate_limit
integer
expires_at
string<date-time>

Response

201 - application/json

Key created

id
string
name
string
prefix
string
environment
enum<string>
Available options:
live,
test
permissions
string[]
last_used
string<date-time>
created_at
string<date-time>
key
string

Full key (only shown once)