Skip to main content

Qlara RCS API

REST API for sending RCS (Rich Communication Services) messages. Supports text messages, rich cards, carousels, and interactive suggestions with fallback to WhatsApp and SMS.

One message per call. This API sends one RCS message to one recipient per call. To send to many recipients, use a campaign (POST /api/partner-gateway/campaigns, on the Qlara Platform API).

Authentication​

All requests require one of the following methods:

  • API Key — Header X-Api-Key: <api-key>
  • Basic Auth — Header Authorization: Basic <base64(username:password)>

Key Features​

  • RCS message sending: text, rich cards, carousels
  • Interactive suggestions (buttons, links, quick replies)
  • Automatic fallback to WhatsApp and SMS
  • Delivery, read, and inbound message notifications (webhook)

Webhooks​

The following callbacks are sent via HTTP POST to your URL configured in the platform.

DELIVERY​

{
"channel": "RCS",
"eventType": "DELIVERY",
"messageId": "uuid",
"destination": "+393401234567",
"statusCode": 3,
"description": "delivered",
"eventDate": "2025-10-16T10:42:18Z",
"price": 0.04
}

statusCode: 3 = delivered; a failed RCS message ends with 9 = general error, 10 = disabled or 11 = unsupported. An expired RCS message produces no DELIVERY event. price is the total cost of the message; READ events carry no price.

READ​

{
"channel": "RCS",
"eventType": "READ",
"messageId": "uuid",
"destination": "+393401234567",
"eventDate": "2025-10-16T10:43:00Z"
}

INBOUND​

{
"channel": "RCS",
"eventType": "INBOUND",
"messageId": "msg-id",
"source": "+393471488489",
"destination": "ag-2_ci5xnlho_agent",
"receivedDate": "2025-10-31T10:59:05.099Z",
"messageType": "TEXT",
"text": "User reply message"
}

source is the user's number and destination is the Google id of your RCS agent (such as ag-2_ci5xnlho_agent), not the numeric agentId you send. messageType: TEXT, IMAGE, AUDIO, VIDEO. For media, the mediaKey field contains the key for downloading via /api/files/{mediaKey}.

Authentication​

API Key provided by Qlara

Security Scheme Type:

apiKey

Header parameter name:

X-Api-Key

Contact

Qlara:

URL: https://qlara.ai