Creates an SMS campaign. Pass a to list without status to send. schedule_at delays that send.
Pass status: "draft" without to to save a draft. Pass status: "scheduled" with schedule_at
and included_audience to send once later. Pass status: "recurring" without to to start a series.
Email campaigns use POST /v1/campaigns/email. WhatsApp campaigns use POST /v1/campaigns/whatsapp.
Fax campaigns use POST /v1/campaigns/fax.
Send. Creates and sends an SMS campaign. Attachments for MMS campaigns are also accepted.
Messages use the channel for from. The message body must be less than 1000 characters.
Attachment-only messages are also accepted.
If there is no contact for the organization corresponding to the parameters in the to list, a new
contact will be created, along with a conversation with the from number channel. If there is an
existing contact but no conversation, a new conversation will be created. All contacts will be tagged
with an upload tag with a timestamp corresponding to the time of creation of the campaign.
The contacts in the to list will be formatted to E.164 and validated. Invalid numbers are removed
and processing continues with the valid ones. If no valid numbers remain, a 422 is returned.
When custom_data is provided, the contacts will be associated with a custom object. The custom
object and its custom properties must exist first. Set resource to contact or campaign_contact.
A successful send returns 202 Accepted while the campaign is processed in the background.
Draft. Pass status: "draft". Do not pass to. from is a phone channel. Optional Whippy
Query filter items go in included_audience and excluded_audience. automation_templates is
optional and capped at 50. A draft never creates contacts and is never sent automatically. A
successful draft returns 201 Created.
Scheduled. Pass status: "scheduled", schedule_at, and included_audience. Do not pass to.
The campaign is sent once at that time. A successful request returns 201 Created.
Recurring. Pass status: "recurring". Do not pass to. Requires included_audience
and recurring_settings (cron_expression, timezone, start_date; optional end_date).
cron_expression is a five-field cron evaluated in timezone (0 9 * * * is 09:00 every day).
The series starts immediately. A successful request returns 201 Created for the series parent.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
