SMS campaigns
Create an SMS campaign
Update an SMS campaign
Get the total price of an SMS campaign
Confirm / schedule an SMS campaign
Get an SMS campaign
List SMS campaigns
Get SMS campaign statistics
Generate the description of an SMS campaign
Delete an SMS campaign
Quick guideโ
An SMS campaign sends one text to the contacts of one or more lists, to phone numbers written in the request, or to both. You need an approved sender (smsSender), the text (smsBody) and the recipients.
Recipients: destinationType says where they come from. 0 takes the contact lists in contactListIds; 1 the phone numbers in destinations, in international format, without creating contacts; 2 both. To send to one person, use 1 with one number, as the Quick Start does.
- Create the campaign with
POST /campaignsandsendingModeSMS: it starts as a draft. - Complete it with
PUT /campaigns/{id}, and setreadyToSend: truewhen it is final. - Check the price with
GET /campaigns/{id}/price. - Confirm it with
PUT /campaigns/{id}/confirm: the amount is reserved, and the campaign leaves at once or at itsscheduledDate. From then on it can no longer be changed. - Follow it with
GET /campaigns/{id}andGET /campaigns/stats, or export its delivery reports from Exports. Webhooks do not report the delivery of campaign messages.
These endpoints are the same for every channel: this section describes them for SMS. Each page links to the same endpoint for RCS and WhatsApp.
Use cases: UC-001: Bulk SMS Campaign ยท UC-002: Complete Campaign Report