Pular para o conteúdo principal
GET
/
v1
/
calls
Listar chamadas
curl --request GET \
  --url https://pilotstatus.com.br/v1/calls \
  --header 'x-api-key: <api-key>'
{
  "calls": [
    {
      "id": "call_01HZX...",
      "externalCallId": "wacid.ABGG...",
      "direction": "INBOUND",
      "status": "COMPLETED",
      "peerNumber": "5511999999999",
      "durationSeconds": 120,
      "startedAt": "2026-07-03T15:00:00.000Z",
      "connectedAt": "2026-07-03T15:00:05.000Z",
      "endedAt": "2026-07-03T15:02:05.000Z",
      "createdAt": "2026-07-03T15:00:00.000Z",
      "updatedAt": "2026-07-03T15:02:05.000Z"
    }
  ]
}

Autorizações

x-api-key
string
header
obrigatório

Sua chave de API ps_

Parâmetros de consulta

limit
string

Tamanho da página (padrão 25). (number (1–100))

before
string

Cursor: só chamadas criadas estritamente antes deste instante. (string (ISO 8601))

Resposta

Listar chamadas