POST
/
api
/
api_keys

Body

application/json
name
string
required

A free-form name for the API key. Need not be unique. 50 characters max.

Maximum length: 50
expiryDate
string | null

Once API key expires, clients cannot use it anymore.

Response

201 - application/json
prefix
string
required
created
string
required
creator
string | null
required
secret
string
required

The API key itself. Will be generated on creation but not returned in future requests.

revoked
boolean
required

If the API key is revoked, clients cannot use it anymore. (This cannot be undone.)

name
string
required

A free-form name for the API key. Need not be unique. 50 characters max.

Maximum length: 50
expiryDate
string | null

Once API key expires, clients cannot use it anymore.