Skip to main content
POST
/
api-key
cURL
curl --request POST \
  --url https://api.example.com/api-key \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "apiKey": {
      "id": "<string>",
      "keyPreview": "<string>",
      "spendingLimitPeriod": "<unknown>",
      "userId": "<string>",
      "name": "<string>",
      "spendingLimit": "<string>"
    },
    "raw": "<string>"
  }
}

Authorizations

Authorization
string
header
required

OAuth access token sent as Authorization: Bearer <access-token>.

Response

201 - application/json

Create API key

data
object
required