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

# Campaign Manager API Overview

> Create and run outbound voice campaigns with reusable agents, CSV contact lists, caller-ID pools, retries, scheduling, capacity controls, and signed webhooks.

The Voice Campaign Manager API lets you create outbound calling campaigns and operate their full lifecycle. You define a reusable agent, configure campaign capacity and caller ID behavior, upload contacts, then start or schedule the campaign.

> [!NOTE]
>
> All requests go through the Vobiz API gateway at `https://api.vobiz.ai` and are scoped to an account under `/api/v1/account/{account_id}/`. Examples use `{account_id}` and `{auth_token}` placeholders. Keep credentials on your server and never expose them in client-side code.

## Workflow

**1. Create an agent**

Save the returned agent `id`. The agent defines the answer URL, optional hangup URL, request methods, and static SIP headers.

**2. Create a campaign**

Select the agent, concurrency, timezone, caller-ID strategy, retry policy, and optional schedule or daily calling window.

**3. Configure caller IDs**

For a pool campaign, add at least one number. Fixed campaigns use `fixed_caller_id`. Per-contact campaigns read the caller ID from each CSV row.

**4. Upload contacts**

Upload a CSV with a `to` column. A valid upload moves the campaign from `draft` to `ready`.

**5. Launch and monitor**

Call the start endpoint for an immediate launch, or set `scheduled_at`. Monitor campaign health, contacts, attempts, and account capacity.

**6. Export outcomes**

Download campaign results or query CDRs with `campaign_id` for billing and call-quality analysis.

## Base URL

```text theme={null}
https://api.vobiz.ai
```

> [!WARNING]
>
> **Always call the gateway.** The campaign service itself sits behind an internal load balancer on private addresses and is not reachable from the internet, so a service-specific hostname will not resolve. Every example on these pages uses `api.vobiz.ai`.

Authenticate with `X-Auth-ID` and `X-Auth-Token`, or with an account-service JWT through the gateway. See [Authentication](https://www.vobiz.ai/docs/campaign-manager/authentication.md).

## Endpoint index

Every path below is prefixed with `/api/v1/account/{account_id}`. Each page has a live playground.

**Agents**

| Method | Path | Reference |
| - | - | - |
| `POST` | `/campaign/agents` | [Create an agent](https://www.vobiz.ai/docs/campaign-manager/agents/create-agent.md) |
| `GET` | `/campaign/agents` | [List agents](https://www.vobiz.ai/docs/campaign-manager/agents/list-agents.md) |
| `GET` | `/campaign/agents/{agent_id}` | [Retrieve an agent](https://www.vobiz.ai/docs/campaign-manager/agents/retrieve-agent.md) |
| `PUT` | `/campaign/agents/{agent_id}` | [Update an agent](https://www.vobiz.ai/docs/campaign-manager/agents/update-agent.md) |
| `DELETE` | `/campaign/agents/{agent_id}` | [Delete an agent](https://www.vobiz.ai/docs/campaign-manager/agents/delete-agent.md) |

**Campaigns**

| Method | Path | Reference |
| - | - | - |
| `POST` | `/campaigns` | [Create a campaign](https://www.vobiz.ai/docs/campaign-manager/campaigns/create-campaign.md) |
| `GET` | `/campaigns` | [List campaigns](https://www.vobiz.ai/docs/campaign-manager/campaigns/list-campaigns.md) |
| `GET` | `/campaigns/{campaign_id}` | [Retrieve a campaign](https://www.vobiz.ai/docs/campaign-manager/campaigns/retrieve-campaign.md) |
| `PUT` | `/campaigns/{campaign_id}` | [Update a campaign](https://www.vobiz.ai/docs/campaign-manager/campaigns/update-campaign.md) |

**Lifecycle controls**

| Method | Path | Reference |
| - | - | - |
| `POST` | `/campaigns/{campaign_id}/start` | [Start a campaign](https://www.vobiz.ai/docs/campaign-manager/controls/start-campaign.md) |
| `POST` | `/campaigns/{campaign_id}/pause` | [Pause a campaign](https://www.vobiz.ai/docs/campaign-manager/controls/pause-campaign.md) |
| `POST` | `/campaigns/{campaign_id}/resume` | [Resume a campaign](https://www.vobiz.ai/docs/campaign-manager/controls/resume-campaign.md) |
| `POST` | `/campaigns/{campaign_id}/cancel` | [Cancel a campaign](https://www.vobiz.ai/docs/campaign-manager/controls/cancel-campaign.md) |
| `POST` | `/campaigns/{campaign_id}/archive` | [Archive a campaign](https://www.vobiz.ai/docs/campaign-manager/controls/archive-campaign.md) |

**Contacts, upload, and results**

| Method | Path | Reference |
| - | - | - |
| `POST` | `/campaigns/{campaign_id}/upload` | [Upload contacts](https://www.vobiz.ai/docs/campaign-manager/contacts/upload-contacts.md) |
| `GET` | `/campaigns/{campaign_id}/contacts` | [List contacts](https://www.vobiz.ai/docs/campaign-manager/contacts/list-contacts.md) |
| `GET` | `/campaigns/{campaign_id}/calls` | [List call attempts](https://www.vobiz.ai/docs/campaign-manager/contacts/list-calls.md) |
| `GET` | `/campaigns/{campaign_id}/results` | [Download results](https://www.vobiz.ai/docs/campaign-manager/contacts/download-results.md) |

**Caller pool**

| Method | Path | Reference |
| - | - | - |
| `POST` | `/campaigns/{campaign_id}/pool` | [Add pool numbers](https://www.vobiz.ai/docs/campaign-manager/caller-pool/add-pool-numbers.md) |
| `GET` | `/campaigns/{campaign_id}/pool` | [List pool numbers](https://www.vobiz.ai/docs/campaign-manager/caller-pool/list-pool-numbers.md) |
| `PUT` | `/campaigns/{campaign_id}/pool/{number_id}` | [Update pool number](https://www.vobiz.ai/docs/campaign-manager/caller-pool/update-pool-number.md) |
| `DELETE` | `/campaigns/{campaign_id}/pool/{number_id}` | [Remove pool number](https://www.vobiz.ai/docs/campaign-manager/caller-pool/delete-pool-number.md) |

**Capacity and lookup**

| Method | Path | Reference |
| - | - | - |
| `GET` | `/capacity` | [Account capacity](https://www.vobiz.ai/docs/campaign-manager/capacity/account-capacity.md) |
| `GET` | `/campaigns/{campaign_id}/call-lookup/{call_uuid}` | [Call lookup](https://www.vobiz.ai/docs/campaign-manager/capacity/call-lookup.md) |

That is **24 account-scoped endpoints**. A `GET /status/` liveness check is also exposed, unauthenticated and unprefixed. Service-to-service routes under `/internal/*` are covered in [Authentication](https://www.vobiz.ai/docs/campaign-manager/authentication.md) and are not reachable through the gateway.

## Resource map

> [card] [Authentication](https://www.vobiz.ai/docs/campaign-manager/authentication.md)
>
> Configure customer and internal request headers.

> [card] [Agents](https://www.vobiz.ai/docs/campaign-manager/agents/create-agent.md)
>
> Manage reusable answer and hangup webhook configurations.

> [card] [Campaigns](https://www.vobiz.ai/docs/campaign-manager/campaigns/create-campaign.md)
>
> Create, list, retrieve, and update outbound campaigns.

> [card] [Campaign controls](https://www.vobiz.ai/docs/campaign-manager/controls/start-campaign.md)
>
> Start, pause, resume, cancel, and archive campaigns.

> [card] [Contacts and results](https://www.vobiz.ai/docs/campaign-manager/contacts/upload-contacts.md)
>
> Upload CSV contacts, browse contacts and attempts, and export results.

> [card] [Caller-ID pools](https://www.vobiz.ai/docs/campaign-manager/caller-pool/add-pool-numbers.md)
>
> Add numbers and manage rotation limits.

> [card] [Capacity and monitoring](https://www.vobiz.ai/docs/campaign-manager/capacity/account-capacity.md)
>
> Inspect account capacity and campaign health.

> [card] [Webhook events](https://www.vobiz.ai/docs/campaign-manager/webhooks.md)
>
> Verify signed campaign and contact events.

## Lifecycle

```text theme={null}
draft ──upload──▶ ready ──start/schedule──▶ running ──▶ completed
                     │                       │  ▲
                     │                       ▼  │
                     │                     paused
                     │                       │
                     └───────────────────────┴──▶ cancelled

non-running campaign ──archive──▶ archived
```

`queued` can appear while launch work is being prepared. Some mutation endpoints reject both `queued` and active states.

## Common status codes

| Code | Meaning |
| - | - |
| `200` | Request succeeded. |
| `201` | Resource created. |
| `400` | Request data is invalid. |
| `401` | Authentication failed. Check both headers and account ownership. |
| `404` | The resource does not exist for the authenticated account. |
| `409` | The requested transition or edit is not allowed in the current state. |
| `502` | An upstream platform dependency is unavailable. |


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