Pular para o conteúdo principal
POST
/
v1
/
api-keys
/
regenerate
Rotacionar API key
curl --request POST \
  --url https://pilotstatus.com.br/v1/api-keys/regenerate \
  --header 'x-api-key: <api-key>'
{
  "id": "key_03HZX...",
  "name": "Default",
  "key": "ps_THIS_IS_SHOWN_ONLY_ONCE",
  "keyPrefix": "ps_abcd",
  "keyLast4": "wxyz",
  "scope": "number",
  "whatsappNumberId": "num_01HZX...",
  "createdAt": "2026-06-28T10:00:00.000Z"
}

Autorizações

x-api-key
string
header
obrigatório

Sua chave de API ps_

Resposta

Rotacionar key