POST
/
v1
/
api-keys

Authorizations

x-api-key
string
headerrequired

Body

application/json
name
string
required

The name of the API key

expires_at
string
required

The expiration date and time of the API key

Response

201 - application/json
id
string
created_at
string
last_used_at
string
expires_at
string
status
enum<string>
Available options:
ACTIVE,
EXPIRED,
REVOKED
name
string
prefix
string
secret
string

The full API key secret (only returned on creation)