---
title: "List Pending Invites"
method: GET
path: "/api/voice/pending-invites"
tags: ["voice-control", "voice-control"]
---

# List Pending Invites

`GET /api/voice/pending-invites`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/voice/pending-invites`
- Auth: none declared

Pending group-call invites for the caller's workspace. Mirrors
/active-calls — inbox banner seed on mount before any WS event arrives.

Per-source TTL filter mirrors the in-process expire tasks
(telegram_1to1: 30s, twilio_1to1: 90s, telegram_group: 6h). A
durable reaper runs first — every GET marks any rows past their
per-source TTL as declined+expired and broadcasts :resolved so
open inbox tabs in other browsers also clear their banners.
Without this, an api-gateway restart kills the in-process
asyncio.create_task TTL guards and orphaned invites surface on
every page load until the 6h window naturally cuts them off.

## Response `200`

Successful Response

- PendingInvitesResponse
  - `pending_invites` PendingInviteEntry[], required
    - `invite_id` integer, required
    - `workspace_id` integer, required
    - `channel_account_id` integer, required
    - `tg_call_id` integer, nullable, required
    - `chat_id` integer, nullable, required
    - `is_conference` boolean, required
    - `chat_title` string, nullable, required
    - `started_by_display_name` string, nullable, required
    - `agent_id` integer, nullable, required
    - `thread_channel_ref` string, nullable, required
    - `created_at` string, required
    - `source` string
    - `twilio_call_sid` string, nullable
    - `caller_telegram_id` integer, nullable
    - `expires_at` string, nullable

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
