channelType to rcs wherever the API asks for a channel.
How RCS differs from WhatsApp
Your RCS sender
Your RCS sender is your brand’s verified identity on RCS: the display name, logo, banner, color, description and contacts customers see. Google calls it an agent. Your Connectly account manager registers it and requests its launch with Google and the carriers in your country.- Before launch, the sender can only message the test phones your account manager added. Use them to see your messages on Android and iPhone.
- After launch, it can message any phone in that country that can receive RCS.
- The sender name identifies the sender in the API, for example
acme_k3x9q2. Customers never see it: their phones show the display name. Message and delivery status events carry it as your side’sid.
Send a message
Send RCS with Send session message, with the recipient’schannelType set to rcs.
{ "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV" }.
What a message can hold
A message istext, one file in attachments, a location, or a replyButtonMessage, listMessage or carouselMessage. With buttons or a list, text is the text that goes with them. A header adds a card’s title and media to text, buttons or a list, or stands alone. A file, a location and a carousel take neither text nor header.
Every length limit on this page counts UTF-16 code units, as JavaScript’s
length does: most emoji count as two, and a flag or a skin-toned emoji as four.flowMessage is refused on RCS. RCS has no footers: footer is refused on every message. RCS reads a message’s header only from the message’s own header, so the header inside replyButtonMessage or listMessage is refused. A list’s section titles and row descriptions are refused too, and its button is ignored.
Rich cards
A rich card is a bubble holding media, a title, a description and buttons. A message with media in itsheader, or with rcs.cardLayout set, goes out as a card:
- Title:
header.textorheader.card.text, up to 200 characters. - Media:
header.attachmentorheader.card.attachment, an image or a video. Useheader.cardto give a card both a title and media. - Description:
text, up to 2,000 characters. - Buttons: the buttons of
replyButtonMessage, or the rows oflistMessage. The first 4 sit inside the card and the rest under it.
rcs.cardLayout, header.text is the first line of a text message instead.
rcs.cardLayout lays the card out:
A horizontal card needs a title, a description or a button besides its media.
Buttons
Each button inreplyButtonMessage.buttons has a label, text, of up to 25 characters, and does one of three things:
The three kinds mix in any order: up to 11 under a message, or up to 4 inside a card. Link and call buttons are RCS only and refused on WhatsApp.
Carousels
carouselMessage.cards holds 2 to 10 rich cards. Each card has:
header: its title (header.textorheader.card.text, up to 200 characters) and its media (header.attachmentorheader.card.attachment). A card needs a title or media.bodyText: its description, up to 2,000 characters.action: eitherctaUrl, one button that opens a link, orquickReplyButtons, up to 4 buttons of any kind.
text or header. Send an introduction as its own message first.
When RCS can’t send it
A message RCS can’t send is refused before anything goes out. The response is400, and the error names the field, in the API’s snake_case:
details maps the refused field to the reason. Skip any key that isn’t a field name, such as "0".
Delivery
- No window and no templates. You can message a customer at any time, as long as you have their consent.
- Phones that can’t receive RCS don’t get the message. That happens when RCS is turned off on the phone, the phone or its carrier doesn’t support it, or your sender isn’t launched in the customer’s country. The message fails with
delivery_failed. Connectly doesn’t resend it by SMS or WhatsApp. - A phone that’s off or has no connection gets the message when it’s back online, up to 48 hours after you send it. A message still undelivered by then fails with
delivery_failed. - Statuses are
sentonce the message is accepted for delivery, thendelivered,readanddelivery_failed, as on WhatsApp.readcomes only when the phone reports the message seen, and some phones don’t, so read counts can run low. - Typing indicators are WhatsApp only.
Webhooks on RCS
RCS events use the same topics and payloads as WhatsApp’s, described in the Webhook payload reference, withchannelType set to rcs:
- Your side’s
idis your sender name. The customer’sidis their phone number in E.164 format. RCS doesn’t share the customer’s name. - Inbound messages are text, files (as
attachments) and locations the customer shares. - A tap on a reply button or a list row arrives as a
buttonResponse, whosepayloadis theidyou gave the button or row. - Taps on link and call buttons aren’t sent.
- Delivery status events cover the messages you send.
Campaigns on RCS
A campaign’s flow lists the channels it sends on, set in the Flow Builder: WhatsApp, RCS or both. The builder offers only what every listed channel can send. RCS has no templates: a flow for RCS only sends each message as you wrote it, with no review. A flow for both channels writes its messages as WhatsApp templates, which Meta reviews, and RCS sends the same content as regular messages.- Choosing RCS. In Send campaigns and Send to an audience, set
senderto your sender name to send over RCS. Withoutsender, a flow for RCS only sends from your RCS sender, and a flow for WhatsApp, or for both, sends on WhatsApp. A flow that doesn’t list RCS can’t send from an RCS sender: Send campaigns refuses it withthe campaign's flow can't send on rcs. - Recipients are phone numbers in E.164 format. An audience contact known only by a WhatsApp BSUID is skipped on RCS.
- A step that runs at once can’t follow the first message. A Tool Call, script or API call joined straight to an RCS campaign’s first message is refused when you publish. Put a Time Delay between them.
- A/B Split works on RCS as on WhatsApp. See Campaigns with an A/B Split.
- Customers who can’t receive RCS show as failed in the campaign report.
Opt-outs on RCS
- STOP, PARAR and BAJA always opt a customer out on RCS, whatever your opt-out settings, when the keyword is the whole message, give or take punctuation and emoji: “Stop!” opts out, and “Stop sending me ads” doesn’t. For +1 numbers, which cover the US, Canada and the Caribbean, so do QUIT, END, REVOKE, OPT OUT, OPTOUT, CANCEL and UNSUBSCRIBE. Connectly confirms in English, Portuguese or Spanish.
- A customer who blocks your sender stops getting your campaigns until they write to you again. Both changes reach the
opt_status_updatewebhook. - Opt-outs are per channel. A STOP on WhatsApp doesn’t stop RCS messages, and a STOP on RCS doesn’t stop WhatsApp ones.
- Opting back in works with keywords, as on WhatsApp. See Contacts who opt back in themselves.
- The Opt-Outs API and the dashboard’s file upload act on WhatsApp only.
