Skip to main content

SMS campaigns

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.

  1. Create the campaign with POST /campaigns and sendingMode SMS: it starts as a draft.
  2. Complete it with PUT /campaigns/{id}, and set readyToSend: true when it is final.
  3. Check the price with GET /campaigns/{id}/price.
  4. Confirm it with PUT /campaigns/{id}/confirm: the amount is reserved, and the campaign leaves at once or at its scheduledDate. From then on it can no longer be changed.
  5. Follow it with GET /campaigns/{id} and GET /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