Setup · Operator tokens

Mint an operator token (raw token returned once)

post/operator-tokens

Request

  • Base URL: https://api.ziggsai.com
  • URL: https://api.ziggsai.com/operator-tokens
  • Auth: HTTP bearer

Request body

labelstring

Human label shown in the key list. Not used for auth.

scopesstring[] required

Scopes the key may exercise. Ask for a named preset from GET /operator-tokens/scopes rather than transcribing this list.

ttlSecnumber

Lifetime in seconds. Omitted means the service default; short is the norm.

Response

Created

keyIdstring required
tokenstring required
scopesstring[] required

Changes

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