Create a broadcast
create_broadcastCreate a mass message to the CRM contacts of one account. Created as a DRAFT: nothing goes out until send_broadcast. Instagram and Facebook do not allow broadcasts (Meta policy), and WhatsApp requires an approved template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal name of the campaign. | |
| tags | No | Only contacts carrying these tags. Omit for all subscribers. | |
| message | No | ||
| template | No | WhatsApp only, and REQUIRED there: {"name":"approved_template","language":"es","variables":["Ana","20%"]}. The variables go in the order of the {{1}}, {{2}} placeholders. List the approved ones with list_whatsapp_templates. | |
| accountId | Yes | Ignix account id that sends. | |
| attachments | No | Media sent with the message: [{"url":"https://…","type":"image"}]. Types: image, video, audio, file. Whatever the network does not accept in a direct message is dropped — see dmAttachments in get_network_rules. | |
| scheduledAt | No | ISO 8601 to schedule it. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |