> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oktivo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Queued Calls

> Calls that are scheduled for a time or waiting to be placed, plus what became of finished ones.

A call is in the queue when you scheduled it with `scheduledAt`, or when it could not be placed right now and you sent `deferIfUnavailable: true`. Finished entries stay visible for 30 days.

## Query Parameters

**status** `string`

Comma-separated states: `scheduled`, `waiting`, `dialing`, `placed`, `failed`, `expired`, `cancelled`. Omit for all states.

* `scheduled`: you picked the time.
* `waiting`: held until the calling window or voice service is available.
* `dialing`: being placed right now.
* `failed`: could not be placed (for example no credits or Do Not Disturb). See `outcome`.
* `expired`: not placed before `expiresAt`.

**type** `string`

`scheduled` or `deferred` (waiting for the window or voice service).

**agentId** `string`

Filter by agent.

**search** `string`

Matches name, phone, contactUID or queue id.

**from** `string`

First call-time day, `YYYY-MM-DD` (IST).

**to** `string`

Last call-time day, `YYYY-MM-DD` (IST), inclusive.

**sortBy** `string`

`notBefore` (call time) or `createdAt`. Default: soonest first for active states, newest first otherwise.

**sortOrder** `string`

`asc` or `desc`.

**page** `integer` (default: 1)

Page number.

**pageSize** `integer` (default: 25)

1 to 100.

```json 200 OK theme={null}
{
  "success": true,
  "data": [
    {
      "queueId": "dfc_9fQ2xK1mZp",
      "contactUID": "contact_7f8a9b0c1d2e",
      "state": "scheduled",
      "type": "scheduled",
      "reason": "scheduled",
      "phone": "+919876543210",
      "name": "Priya Sharma",
      "agentId": "agt_123",
      "agentName": "Sales Agent",
      "campaignUID": "api_call_3e4f5g6h7i8j",
      "kind": "api",
      "scheduledFor": "2026-03-02T04:00:00.000Z",
      "notBefore": "2026-03-02T04:00:00.000Z",
      "expiresAt": "2026-03-03T04:00:00.000Z",
      "attempts": 0,
      "outcome": null,
      "lastError": null,
      "createdAt": "2026-03-01T10:15:00.000Z",
      "updatedAt": "2026-03-01T10:15:00.000Z"
    }
  ],
  "pagination": { "page": 1, "pageSize": 25, "total": 1, "totalPages": 1, "hasMore": false },
  "requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
  "timestamp": "2026-03-02T04:05:00.000Z",
  "meta": {
    "page": 1,
    "pageSize": 25,
    "total": 1,
    "totalPages": 1,
    "hasMore": false
  }
}
```

## Related endpoints

| Endpoint | Purpose |
| - | - |
| `GET /api/v1/crm/calls/queue/summary` | Counts per state and `nextDueAt`. |
| `GET /api/v1/crm/calls/queue/{id}` | One entry, by `queueId` or `contactUID`. |
| `DELETE /api/v1/crm/calls/queue/{id}` | Cancel a `scheduled` or `waiting` call. Returns `409` if it is already being dialed or finished, `404` if unknown. |

The `contactUID` returned when the call was accepted is the same id the call has once it is placed, so you can keep using it with [Get Call Status](https://docs.oktivo.com/api-reference/calls/get-call-status.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.