Pular para o conteúdo principal
GET
/
v1
/
webhooks
Listar webhooks
curl --request GET \
  --url https://pilotstatus.com.br/v1/webhooks \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "wh_01HZX...",
    "tenantId": "tenant_01HZX...",
    "name": "n8n",
    "url": "https://hooks.acme.com/whatsapp",
    "environment": "LIVE",
    "active": true,
    "events": [
      "message.received",
      "message.delivered"
    ],
    "apiKeys": [
      {
        "id": "key_01HZX...",
        "name": "Default"
      }
    ],
    "lastTriggered": "2026-06-28T09:59:00.000Z",
    "whatsappNumberIds": [
      "num_01HZX..."
    ],
    "whatsappInstanceIds": [],
    "createdAt": "2026-06-01T11:59:00.000Z",
    "updatedAt": "2026-06-01T12:00:00.000Z"
  }
]

Autorizações

x-api-key
string
header
obrigatório

Sua chave de API ps_

Cabeçalhos

x-whatsapp-number-id
string

Restringe ao contexto de um número (obrigatório em concessões OAuth por número).

Resposta

Listar webhooks