create_campaign
Create and dispatch an outbound messaging campaign targeting stored contacts or streaming from a remote HTTPS CSV/JSONL URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Descriptive name of the campaign. | |
| text | No | Main campaign message content. | |
| flowId | No | Optional interactive flow ID reference. | |
| agentId | No | Agent ID to send the campaign from. If omitted, uses active agent from context. | |
| sendNow | No | Immediately trigger and stream broadcast in the background (default true). | |
| urlFormat | No | Format of contactsUrl file (default 'csv'). | csv |
| recipients | No | Optional array of recipient phone numbers in E.164 format. | |
| templateId | No | Optional template ID reference. | |
| contactsUrl | No | Pre-signed HTTPS CSV or JSONL URL to stream contacts from with zero database persistence. | |
| contactListName | No | Name of stored contact list in workspace (when recipientSource is 'contacts'). | |
| recipientSource | No | Audience source ('contacts' or 'remote_url'). | |
| allowSmsFallback | No | Enable SMS fallback for non-RCS devices. |