> ## 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: Create a Campaign

> Create an outbound voice campaign with concurrency, timezone, caller-ID strategy, scheduling, daily calling window, and retry policy.

```http theme={null}
POST https://api.vobiz.ai/api/v1/account/{account_id}/campaigns
```

A campaign links an agent to a contact list and defines concurrency, caller-ID selection, scheduling, daily windows, and retry behaviour. New campaigns start in `draft`.

> [!NOTE]
>
> **Authentication required**
>
> * `X-Auth-ID` — your Vobiz account ID
> * `X-Auth-Token` — your Vobiz auth token

**account\_id** `string` *required*

Your Vobiz account ID. Use the same value in `X-Auth-ID`.

**X-Auth-ID** `string` *required*

Your Vobiz account ID, for example `MA_XXXXXXXX`.

**name** `string` *required*

Campaign name. Maximum 100 characters.

**agent\_id** `string` *required*

ID of an existing [agent](https://www.vobiz.ai/docs/campaign-manager/agents/create-agent.md).

**max\_concurrent** `integer` *required*

Maximum simultaneous calls. At least `1`, and no higher than the account concurrency limit.

**timezone** `string` *required*

IANA timezone such as `Asia/Kolkata`. Governs the daily window and daily pool limits.

**caller\_id\_strategy** `string` *required*

`fixed`, `per_contact`, or `pool`.

**fixed\_caller\_id** `string`

Required when the strategy is `fixed`. E.164 format.

**cps** `integer`

Retained for backward compatibility. Values below `1` normalise to `1`. CPS does not gate campaign capacity — use `max_concurrent`.

**scheduled\_at** `string`

ISO 8601 timestamp for a scheduler-based launch instead of an immediate start.

**window\_enabled** `boolean` (default: false)

Enables the daily calling window.

**window\_start\_time** `string`

Required when the window is enabled. `HH:mm` in the campaign timezone.

**window\_end\_time** `string`

Required when the window is enabled. Must differ from the start time.

**retry\_attempts** `integer` (default: 0)

Retries after the initial attempt. Range `0`–`5`.

**retry\_delays** `array`

Delay in minutes before each retry, for example `[60, 240]`.

**retry\_window\_days** `integer` (default: 7)

Maximum number of days retries may span.

**notify\_url** `string`

Target for signed campaign and contact [webhooks](https://www.vobiz.ai/docs/campaign-manager/webhooks.md).

## Example

```bash cURL theme={null}
curl -X POST \
  "https://api.vobiz.ai/api/v1/account/{account_id}/campaigns" \
  -H "X-Auth-ID: {account_id}" \
  -H "X-Auth-Token: {auth_token}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Q1 Appointment Reminders",
    "agent_id": "{agent_id}",
    "max_concurrent": 10,
    "timezone": "Asia/Kolkata",
    "caller_id_strategy": "fixed",
    "fixed_caller_id": "+919876543210",
    "window_enabled": true,
    "window_start_time": "09:00",
    "window_end_time": "18:00",
    "retry_attempts": 2,
    "retry_delays": [60, 240],
    "retry_window_days": 7,
    "notify_url": "https://example.com/campaign-webhooks"
  }'
```

The response is `201` with a `draft` campaign. [Upload contacts](https://www.vobiz.ai/docs/campaign-manager/contacts/upload-contacts.md) to move it to `ready`.

## Caller-ID strategies

> [tab] Fixed
>
> Set `caller_id_strategy` to `fixed` and supply `fixed_caller_id`. Every attempt uses the same number.

> [tab] Per contact
>
> Set the strategy to `per_contact`. Every CSV row must contain a `from` value — the upload fails if the column is missing.

> [tab] Pool
>
> Set the strategy to `pool`, then [add numbers](https://www.vobiz.ai/docs/campaign-manager/caller-pool/add-pool-numbers.md) before launch.
>
> Pool campaigns also accept `pool_rotation_strategy` (`round_robin`, `least_used`, or `random`), `pool_max_calls_per_number`, `pool_max_calls_per_day`, and `pool_cooldown_seconds`.


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