API Keys

Create a new API key

post/v1/api-keys

Request

  • Base URL: https://api.sprixen.com
  • URL: https://api.sprixen.com/v1/api-keys
  • Auth: bearer (a scheme the document does not define)

Request body

namestring required

A label to identify this API key

Example request

{
  "name": "My Production Key"
}

Response

idstring required
namestring required
keyPrefixstring required
lastUsedAtstring nullable required
revokedAtstring nullable required
createdAtstring required
keystring required

The full API key. This will only be shown once.

Example response

{
  "name": "My Production Key",
  "keyPrefix": "spx_live_a1b2",
  "key": "spx_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8"
}

Changes

No recorded changes to this operation across all 1 revision of this API.