Account Ensure Key

The one way to get an API key: POST /api/account/signup, then this call. The first call mints the account's key and returns it once (created: true, key). Any later call never rotates or revokes: it returns has_key: true and the prefix of the key that stays valid (key is null, since keys are stored hashed). Bearer authentication is required; it consumes no trial or quota and has no billing side effect.

post/api/account/keys/ensure

Request

  • Base URL: https://opwhcervi3.execute-api.ca-central-1.amazonaws.com
  • URL: https://opwhcervi3.execute-api.ca-central-1.amazonaws.com/api/account/keys/ensure
  • Auth: HTTP bearer

Headers

Authorizationstring nullable

Response

Successful Response

createdboolean required
has_keyboolean
keystring nullable
messagestring required
prefixstring nullable

Changes

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