Skip to main content

RCS campaigns

Quick guideโ€‹

An RCS campaign sends a saved template to the contacts of one or more lists, to phone numbers written in the request, or to both. You need an agent (rcsAgentId), a template (rcsTemplateId, with its rcsTemplateType) and the recipients.

SMS fallback: with sendingMode RCS_SMS the campaign tries RCS first, then SMS. It then needs an SMS sender (smsSender) and the text (smsBody) too.

Three channels: with sendingMode RCS_WHATSAPP_SMS the campaign tries RCS first, then WhatsApp, then SMS. Besides the SMS fields it needs the WhatsApp ones, a phone number (whatsappPhoneNumberId) and an APPROVED template (whatsappTemplateId): they are described in Create a WhatsApp campaign.

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.

  1. Create the campaign with POST /campaigns and sendingMode RCS: 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 RCS. Each page links to the same endpoint for SMS and WhatsApp.

Use cases: UC-004: Bulk RCS Rich Card Campaign ยท UC-002: Complete Campaign Report