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. Other parameters like inboundAssistantUuid or outboundPhoneUuid can be configured now or updated later.
Body Parameters
| Field | Type | Description |
|---|---|---|
| name * | string | Descriptive name of the campaign. |
| description | string | Optional description for internal reference. |
| type * | string | Campaign type: "inbound" or "outbound". |
| outboundAssistantUuid | string | UUID of the AI assistant for outbound calls. |
| outboundPhoneUuid | string | UUID of the phone number used for dialing out. |
| timezone | string | Operational timezone (e.g., "America/New_York"). |
| status | string | Initial status (default: "draft"). |
Responses
Get a campaign
Retrieves the full details of a specific campaign, including its current configuration, associated AI assistants, and aggregated performance stats.
Responses
Update a campaign
Updates the configuration of an existing campaign. You can pause a campaign by setting its status to paused, or update the AI assistant associated with it.
Responses
Delete a campaign
Permanently deletes a campaign and cancels all pending call operations. This action cannot be undone.