# Listar chamadas ativas

`GET /call/status`

Pasta: **Chamadas**

## Autenticação

```http
token: {{token}}
```

## Descrição

# Listar chamadas ativas

Lista as chamadas ativas no registry da instância (id, peer, direção, estado, mídia e se há bridge WebRTC).

## Endpoint

`GET {{baseUrl}}/call/status`

## Autenticação

Envie o token da instância no header `token: {{token}}`.

## Exemplo de Requisição

```bash
curl --request GET '{{baseUrl}}/call/status' \
  --header 'token: {{token}}'
```

## Resposta de Sucesso

```json
{
  "success": true,
  "calls": [
    {
      "call_id": "3EB0FAKECALL",
      "peer": "5511888888888@s.whatsapp.net",
      "direction": "outgoing",
      "state": "ACTIVE",
      "media_type": "audio",
      "has_bridge": true
    }
  ]
}
```

## Erros comuns

- `401 Unauthorized`: o header `token` não foi enviado ou é inválido.
- `400 Bad Request`: JSON inválido ou campo obrigatório ausente.
- `500 Internal Server Error`: instância desconectada ou a operação falhou no WhatsApp.

## cURL

```bash
curl -X GET "{{baseUrl}}/call/status" \
  -H "token: {{token}}"
```

---

[Índice da pasta](./index.md) · [Índice geral](../index.md) · [UI](https://gozap.dev/docs?op=chamadas/listar-chamadas-ativas)
