RCS campaigns
Create an RCS campaign
Update an RCS campaign
Get the total price of an RCS campaign
Confirm / schedule an RCS campaign
Get an RCS campaign
List RCS campaigns
Get RCS campaign statistics
Generate the description of an RCS campaign
Delete an RCS campaign
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.
- Create the campaign with
POST /campaignsandsendingModeRCS: 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 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