> ## 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.

# Scheduling calls

> Choose the time a call is placed and track it in the call queue.

Add `scheduledAt` to [Trigger Call](https://docs.oktivo.com/api-reference/calls/trigger-call.md) or [Trigger Calls in Bulk](https://docs.oktivo.com/api-reference/calls/bulk-trigger-call.md) to place a call at a time you choose.

```bash theme={null}
curl -X POST https://client-backend.oktivo.com/api/v1/crm/calls \
  -H "Authorization: Bearer okt_your_token" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+919876543210",
    "name": "Priya Sharma",
    "agentId": "agt_123",
    "scheduledAt": "2026-03-02T09:30:00+05:30"
  }'
```

The response is `202` with the `contactUID` the call will have once placed and a `deferredCallId` (the queue id).

## What is checked, and when

| When | Checked |
| - | - |
| Request time | Agent, phone format, Do Not Disturb, credits, outbound number. A failure here is returned immediately and nothing is queued. |
| At the scheduled time | Calling window, voice service, Do Not Disturb and credits again, then concurrency. |

If the calling window is closed at the scheduled time, the call waits and is placed when the window opens. A queued call expires 24 hours after its scheduled time; you receive `call.queue_failed` with `outcome: "expired"`.

## Follow the call

* **Dashboard:** Monitor → Call History → **Queue**. Filter by status, type, agent, call time and search; cancel a call that has not started.
* **API:** [List Queued Calls](https://docs.oktivo.com/api-reference/calls/list-queue.md), `GET /api/v1/crm/calls/{contactUID}` (reports `status: "scheduled"` until dialed) and `DELETE /api/v1/crm/calls/{contactUID}` to cancel.
* **Events:** `call.scheduled`, `call.initiated`, `call.cancelled` and `call.queue_failed`. See [Events](https://docs.oktivo.com/concepts/events.md).

## Rules

* `scheduledAt` needs a UTC offset (`Z` or `+05:30`). Times without one are rejected because the hour would be ambiguous.
* Up to 30 days ahead, and up to 5,000 scheduled calls per account.
* A time already due (within 30 seconds) places the call now.
* A call scheduled for later does not delay calls you place now.
* Retries configured with `retryConfig` apply after the scheduled call is placed.


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