Campaign Records
Record order statuses
Each order in a campaign has a status that dictates its position in the calling lifecycle.
Contact is created and assigned in campaign, no action is planned.
Contact will be contacted based on campaign scheduling options.
Contact is planned to be contacted on specific scheduled date/time.
We were unable to reach, will contact again based on scheduling options.
Contact is contacted and there is outcome, no actions will be done.
User cancelled any calls, contact is kept in campaign for history purpose.
Contact specifically requested DNC, any calling is forbidden.
List campaign orders (records)
Returns a paginated list of all orders assigned to a specific campaign. Each record (contact) in the campaign is added via a call order, which allows setting specific properties and tracking the status of the record within the campaign.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| search | string | Search records by name or phone number. |
| status | enum | Filter by status: registered, planned, calling, completed, failed, busy, no-answer. |
| page | number | The page number for pagination. |
| limit | number | Number of items per page (max 100). |
Responses
Create campaign order
Creates a new record and automatically assigns it to the specified campaign. The recordTypeUuid is automatically inherited from the campaign configuration.
Body Parameters
| Field | Type | Description |
|---|---|---|
| status | enum | Initial status for the call order. |
| record * | object | The contact record details. |
Record Fields
| Field | Type | Description |
|---|---|---|
| name | string | Full name (auto-generated if not provided). |
| firstName | string | First name. |
| lastName | string | Last name. |
| string | Email address. | |
| phoneNumber * | string | Phone number in E.164 format. |
| country | string | ISO country code. |
| parameters | object | Custom field values matching the record type. |
Note: The record.parameters structure must match the schema defined by the campaign's associated Record Type.
Responses
Update campaign order
Updates the properties and configuration of a specific campaign order. This is used to schedule calls, update status, or provide specific instructions for the AI assistant.
Body Parameters
| Field | Type | Description |
|---|---|---|
| status | enum | New status for the order. |
| scheduledTime | datetime | ISO 8601 date-time string. |
| scheduledTimeTimezone | string | Timezone identifier (e.g., "UTC"). |
| scheduledDurationSeconds | number | Call duration in seconds. |
| price | number | Cost or price. |
| currencyCode | string | Three-letter currency code. |
| instructions | string | AI assistant instructions. |
Responses
Associate existing records
Links existing records to the campaign. Only records matching the campaign's recordTypeUuid can be associated.
Body Parameters
| Field | Type | Description |
|---|---|---|
| recordUuids * | uuid[] | Array of record UUIDs to associate. |
Responses
Remove record from campaign
Removes a record from the campaign by deleting the call order. This action does not delete the actual contact record, only its association with this campaign.