Skip to main content

Send RCS message

POST 

/message-server/rcs/send

Sends an RCS message. The content is one of the following, mutually exclusive: one of the two is required.

  • Inline body (body): type TEXT, CARD or CAROUSEL.
  • Template (templateId).

If the message cannot be delivered via RCS, the system can fall back to WhatsApp and/or SMS. The fallbacks belong to the RCS content:

  • With an inline body: set fallbackSms (RCS → SMS) and optionally fallbackWhatsApp (RCS → WhatsApp → SMS) inside body.body.
  • With templateId: the SMS fallback saved in the template applies. A template does not keep a WhatsApp fallback.
  • fallbackWhatsApp needs fallbackSms: if the first is present, the second is mandatory.
  • Mixed-channel accounts only: the WhatsApp fallback applies only if your account supports mixed-channel sending; otherwise it is ignored.
  • maxSmsParts is ignored, if sent: the fallback SMS is split into as many parts as its text needs.

Request​

Responses​

Request accepted. Check results.rcs.accepted to see whether the message was accepted.

  • accepted: true means the message was accepted for sending, not that it was delivered. Delivery confirmation arrives via webhook.
  • With fallbacks, results also carries whatsapp and/or sms: those messages are prepared now and sent only if the previous channel fails. In that case results.rcs.accepted is always true, and only the SMS can be rejected at this stage.
  • Omitted values: the results of the channels not involved, and reasons when the message is accepted.