POST
/
v1
/
api-keys

Authorizations

x-api-key
string
header
required

Body

application/json
expires_at
string
required

The expiration date and time of the API key

name
string
required

The name of the API key

Response

201 - application/json
created_at
string
expires_at
string
id
string
last_used_at
string
name
string
prefix
string
secret
string

The full API key secret (only returned on creation)

status
enum<string>
Available options:
ACTIVE,
EXPIRED,
REVOKED