Skip to main content
Import the RCS API into Postman. In Postman choose Import → Link and paste a link. The collection holds every WhatsApp, RCS and Omnichannel request; the OpenAPI spec covers the RCS API and also works in Swagger UI, Insomnia and other OpenAPI tools.
Postman collection
OpenAPI
The RCS API creates and fetches templates, sends messages, and reports what happened to each one. Everything is a JSON request over HTTPS, authenticated with your OneXtel API key, so it fits whatever your campaigns are already triggered from. Start by copying your API key from the portal. The endpoints below are the whole surface: templates, sends, and the callbacks that carry delivery status back.
Check a request body before you send it with the payload validator. It shows what the API would reject, without sending anything.

Authentication

Every request is authenticated with your API key passed in the apikey request header:
JSON endpoints also require:

Base URL

Endpoints

One send request can reach many recipients: put up to 500 numbers in recipient to send one message to all of them (one to many), or add up to 500 message objects to the rcs array to send different messages (many to many). See Send to many recipients. Failures fall into two layers: OneXtel API validation errors are listed under Send messages, and errors raised downstream by the recipient’s operator are listed under RCS operator error codes.
The RCS Send Message API and Fetch Template API share the same endpoints as the other OneXtel channels (/oapi/send_sms, /oapi/templates/fetch). The channel is determined by the request body: RCS messages are wrapped in an rcs array, and template fetches set "channel": "RCS".

Message types

Every RCS message is classified with a messageType of Promotional, Transactional, or OTP. You can send two kinds of message bodies through the Send Message API:

Response format

The Send Message API returns an array with one result object per message:
string
Unique identifier for the submitted message. Use it to correlate delivery reports.
integer
Result code. 200 indicates the message was accepted.
string
Result status, e.g. success.

Send from a connected platform

If your campaigns already live in a marketing platform or CRM, you can send OneXtel RCS from there rather than against this API. CleverTap, MoEngage, WebEngage and Shopify all carry the channel — see all connectors for what each one supports.