Single RCS sends
API overview
Send RCS message
Get RCS message status
Get the delivery status of an RCS message
Get the delivery status of several RCS messages
List the RCS send history
Quick guide
This API sends one RCS message to one recipient per call. To send to many recipients, use a campaign.
RCS sends rich messages, with images, cards, carousels and buttons, to the phone's own messaging app. Not every phone can receive them, so give each message a fallback.
- Send with
POST /message-server/rcs/send:destination, theagentIdof your RCS agent, and either the content inbody(TEXT,CARDorCAROUSEL) or thetemplateIdof an RCS template. Withsimulation: truethe request is validated, but nothing is sent. - Add the fallback inside the content, in
body.body:fallbackSmsand, if your account can send on several channels,fallbackWhatsApp. WithtemplateId, the template's SMS fallback applies. - Check the delivery by the
messageIdof the answer:GET /rcs/messages/{messageId}returns the status of the message, and itsreadDatetells when it was read.GET /messages/status/{customerMessageId}withchannel=RCSreturns the same data,GET /messages/statusthe status of several messages. The webhook sends you the statuses without polling, tells you when a message is read, and brings the recipient's replies. - Read the history with
GET /messages/historyandchannel=RCS, one date range at a time.POST /messages/history/exportputs every channel in a CSV file: see Exports.
After a 500, the message may have been sent anyway: do not send it again blindly (see Retry strategy).
The send is served by the messaging API, under https://api.qlara.ai/api, which accepts the API key in the X-Api-Key header or Basic Auth: see Authentication. The status and history endpoints are those of the Platform API, with the API key only. They cover the RCS messages sent one at a time, not campaign messages, which you follow from Campaigns. The last three are the same for every channel: their pages here are written for RCS, and each links to the same endpoint for SMS and WhatsApp.
Use cases: UC-019: Analyze Message History · UC-018: Export Delivery Reports