Campaigns
List all campaigns
Returns a paginated list of all campaigns in your account. You can filter the results by status or search by name using the search parameter. Additionally, you can set the page and limit parameters for pagination. A simple query could be ?search=Summer+time&status=active&page=1&limit=10.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| search | string | Search campaigns by name or description. Case-insensitive partial match. |
| status | string | Filter by status: draft, active, paused, completed, archived. |
| page | number | The page number for pagination (default: 1). |
| limit | number | Number of items per page (default: 10, max: 100). |
Responses
Create a new campaign
Creates a new campaign. You must provide a name, status, and type. All other configuration fields are optional and can be updated later.
Body Parameters
| Field | Type | Description |
|---|---|---|
| name * | string | Descriptive name of the campaign. |
| description | string | Internal description of the campaign. |
| status * | enum | Initial status: draft, active, closed. |
| type * | enum | Campaign type: inbound, outbound. |
| timezone | string | Operational timezone (e.g., "Europe/London"). |
| schedule | object | Weekly operational schedule configuration. |
| recordTypeUuid | uuid | UUID of the record type to use for this campaign. |
| outboundAssistantUuid | uuid | UUID of the AI assistant for outbound dialing. |
| inboundAssistantUuid | uuid | UUID of the AI assistant for incoming calls. |
| outboundPhoneUuid | uuid | UUID of the phone number used for outbound calls. |
| inboundPhoneUuid | uuid | UUID of the phone number used for inbound calls. |
Responses
Get a campaign
Retrieves the full public configuration of a specific campaign by its unique identifier.
Responses
Update a campaign
Updates the configuration of an existing campaign. All body parameters are optional for partial updates.
Schedule Structure
The schedule object defines when the campaign is operational. It is a dictionary where keys are three-letter day abbreviations (mon, tue, wed, thu, fri, sat, sun) and values are objects containing start and end times in 24-hour format.
Body Parameters
| Field | Type | Description |
|---|---|---|
| name | string | Descriptive name of the campaign. |
| description | string | Internal description of the campaign. |
| status | enum | Initial status: draft, active, closed. |
| type | enum | Campaign type: inbound, outbound. |
| timezone | string | Operational timezone (e.g., "Europe/London"). |
| schedule | object | Weekly operational schedule configuration. |
| recordTypeUuid | uuid | UUID of the record type to use for this campaign. |
| outboundAssistantUuid | uuid | UUID of the AI assistant for outbound dialing. |
| inboundAssistantUuid | uuid | UUID of the AI assistant for incoming calls. |
| outboundPhoneUuid | uuid | UUID of the phone number used for outbound calls. |
| inboundPhoneUuid | uuid | UUID of the phone number used for inbound calls. |
Responses
Delete a campaign
Permanently deletes a campaign. This will stop all associated call operations.