Skip to main content
POST
Error

Autorizações

Authorization
string
header
obrigatório

A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange.

Cabeçalhos

X-Organization-Id
string

The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing. Absent, the session's default organization answers.

Corpo

application/json
name
string
obrigatório

How the key is labelled in the panel.

environment
enum<string>
obrigatório
Opções disponíveis:
live,
test

Resposta

Created. key is shown once.

id
string<uuid>
name
string
prefix
string
environment
enum<string>
Opções disponíveis:
live,
test
key
string

The plaintext key. Store it now; it is never shown again.