API keys

Create a new API key. The full key value is only returned in this response.

post/api-keys

Request

  • Base URL: https://api.stacktr.ee
  • URL: https://api.stacktr.ee/api-keys
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.stacktr.ee/oauth/authorize, token URL https://api.stacktr.ee/oauth/token, scopes: sites:write, sites:read)

Request body

namestring

Response

Created.

idstring required
namestring required
prefixstring

First few chars of the key (for display).

created_atinteger required
last_usedinteger nullable
keystring

Full API key. Only present on creation responses.

Changes

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