Skip to main content
POST
/
api-keys
Add a new API key for this member
curl --request POST \
  --url https://api.example.com/api-keys/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key_prefix": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "api_key": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

Api-key
string | null

Body

application/json
name
string
required

Response

Successful Response

name
string
required
id
string<uuid>
required
key_prefix
string
required
created_at
string<date-time>
required
api_key
string
required