Mint a key. The raw secret is in THIS response only. A key can never mint one broader than itself; a test key mints only test keys; a live secret key may mint the sandbox pair.

post/keys

Request

  • Base URL: https://widget.reelquoteai.com/api/v1
  • URL: https://widget.reelquoteai.com/api/v1/keys
  • Auth: HTTP bearer

Request body

kind'publishable' | 'secret'
mode'live' | 'test'

Default: the calling key's mode.

scopesstring[] nullable

null (default) = everything the kind allows

labelstring

Up to 80 chars, e.g. 'CRM sync'

Response

Minted. key.secret is shown once.

Example response

{
  "key": {
    "prefix": "sk_live_a1B2"
  }
}

Changes

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