Skip to content

RCS Business Messaging API

RCS on Azmarq is Google Rich Communication Services: branded chat with text, rich cards, carousels, and suggestion chips. Send from the portal, or from your systems with an API key.

Replies can be handled in Team Inbox. Keyword bots for RCS are Automations. Audiences come from My CDP.

What RCS is

RCS is the next step after SMS on Android (and other RCS-capable devices): your brand name, logo, and rich layout appear in the native Messages app.

Building blockWhat it is
Bot / senderThe brand that sends. API field botId. Created under Manage Sender ID
TemplateThe layout you send. Types: text, standalone (one rich card), carousel (several cards)
Suggestions / chipsTappable replies or actions under the message
Capability checkConfirms the handset can receive RCS before you spend a branded send

Customers use RCS to:

  1. Broadcast from the portal (compose + file bulk).
  2. Send from their systems with an API key.
  3. Manage bots, templates, capability checks, opt-in, blocklist, coupons, DLR webhooks, and reports.
  4. Fall back to SMS or WhatsApp when RCS is not available.
  5. Reply in Team Inbox (RCS is a first-class inbox channel).

Wallet credits are deducted per message. Blocked numbers are skipped.

Portal prefix: /google-rcs-sms/...

Get ready before sending

SetupWhereWhy
Wallet balanceUser walletRCS is billed from credits
RCS bot / senderRCS → Utility → Manage Sender IDbotId on the API; brand name, logo, hero image
Approved templateRCS → Utility → Manage TemplateTypes: text, standalone (rich card), carousel
Gateway / routeAssigned to the accountPortal gatewayId
API keySystem → Developer → API KeyHeader apikey
Capability check (optional)Utility → RCS NumbersConfirm the handset supports RCS

API keys can have an IP allowlist and priority. Inactive users or keys are rejected.

Portal tools

Menu labels can vary by role. These are the RCS screens.

Broadcast

ToolWhat you do
Compose / BroadcastOne campaign: audience, bot, template, variables, schedule, split send
Bulk fileCSV/Excel with a mobile column (mobileNumberHeader) plus optional dynamic media / suggestion / postback columns

Audience: manual numbers, groups, categories, tags, CDP segments / sources, file upload. Flags: excludeBlockedNumbers, includeDuplicate, cdpAudience.

Campaign extras: campaignName, dateTime / scheduleTimes, isSplit + batchSplit + timeSplit, fallbackId plus optional sms / whatsapp fallback objects, metaData (max 10 keys, 1–20 chars each), template variables (isVarIncluded, content, messageData, dynamic headers).

Utilities

ToolWhat it is
Manage Sender IDBots / brands (bot id, assistant id, images, status)
Manage TemplateCreate/list/update; types text, standalone, carousel; media Image / Video / File; rich text
RCS NumbersCapability check (single or CSV/XLSX)
Webhook / DLRPush delivery + optional inbound URL (endPoint, header, botId, endPointIncomingMessage)
BlocklistDo-not-send numbers
Opt-in / Opt-outKeywords and auto-replies per bot
CouponsCode pools for template variables

Reports

ReportUse
Message reportCampaign list (bot, template, gateway, dates)
Message logs / number reportPer-recipient status
Inbound reportUser replies
Action reportChip / suggestion taps
Download / MISExports
Failed details / re-pushRetry failed
ScheduleCancel or update scheduled time

Developer setup

  1. Create an API key under System → Developer → API Key. See Authentication.
  2. Optionally restrict the key with an IP allowlist.
  3. Copy $API_BASE_URL from this page — it is white-label / environment specific.
  4. Prefer POST + JSON.
  5. Pass the key as header apikey, and you may also send apikey in the JSON body.

Send URL for this environment: https://api.azmarq.com/v1/rcs.

Identity of a template is templateName, not a numeric template id. Full card layouts: RCS templates. Extra send examples: Send RCS.


Send RCS

POST $API_BASE_URL/v1/rcs. This is the primary send.

Required

  • Name
    apikey
    Type
    string
    Description

    Developer API key (header or body).

  • Name
    botId
    Type
    string
    Description

    RCS bot / sender.

  • Name
    number
    Type
    string
    Description

    Destination mobile.

  • Name
    templateName
    Type
    string
    Description

    Template name registered on that bot.

Optional

  • Name
    type
    Type
    string
    Description

    Message type.

  • Name
    content
    Type
    array
    Description

    Variables / rich content.

  • Name
    campaignName
    Type
    string
    Description

    Report label.

  • Name
    mid
    Type
    string
    Description

    Customer message id.

  • Name
    meta
    Type
    object
    Description

    Extra metadata object.

Request

curl --location --request POST 'https://api.azmarq.com/v1/rcs' \
--header 'Content-Type: application/json' \
--header 'apikey: YOUR_API_KEY' \
--data-raw '{
  "botId": "YOUR_BOT_ID",
  "number": "91xxxxxxxxxx",
  "templateName": "welcome_card",
  "campaignName": "launch",
  "content": [],
  "meta": {}
}'

Response

{
  "id": "58d63c02-XXXX-XXXX-XXXX-XXXXbb39453",
  "data": [
    {
      "recipient": "91xxxxxxxxxx",
      "messageId": "58d63c02-XXXXX-XXXXX-XXXXX-XXXX9bb39453:1"
    }
  ],
  "totalCount": 1,
  "message": "Message Sent Successfully!",
  "error": null
}

HTTP 200 with "error": null means the API accepted the job. Handset delivery arrives later on reports and the DLR webhook.

Other send APIs

Engage-style

POST $API_BASE_URL/v1/rcs/messages

FieldRequiredMeaning
apikeyyesAPI key
botIdyesRCS bot
mobile_numberyesDestination
templateyesTemplate name
textyesText body
typenoMessage type
campaignNamenoReport label

Generic message

POST $API_BASE_URL/v1/rcs/generic-message

FieldRequiredMeaning
apikeyyesAPI key
botIdyesRCS bot
mobile_numberyesDestination
messageyesMessage body
callback_datanoYour correlation data
campaignNamenoReport label

Prefer /v1/rcs with templateName for branded cards and carousels.

Templates over API

Identity is templateName (not a template id). Auth is the same API key. Rich layouts and samples: RCS templates.

MethodPathPurpose
POST/v1/rcs/templateCreate
PUT/v1/rcs/templateUpdate
DELETE/v1/rcs/templateDelete by templateName
GET/v1/rcs/templateList (apikey header)
GET/v1/rcs/template/:templateNameGet one
POST/v1/rcs/template/getGet by body templateName

Create body: apikey, botId (array), templateName, templateType (text | standalone | carousel), mediaType, isRichText, plus content or templateContent (rich card / carousel JSON).

Request

curl --location --request POST 'https://api.azmarq.com/v1/rcs/template' \
--header 'Content-Type: application/json' \
--header 'apikey: YOUR_API_KEY' \
--data-raw '{
  "botId": [
    "YOUR_BOT_ID"
  ],
  "templateName": "welcome_card",
  "templateType": "text",
  "isRichText": false,
  "content": {
    "plainText": "Hi there, thanks for joining."
  }
}'

In the live JSON, numbered placeholders are written as {'{{1}}'}. Pending templates cannot be sent.

Fallback and capability

Not every handset is RCS-capable. Before a large campaign, run RCS Numbers (single check or CSV/XLSX). Capability is a hint, not a guarantee for every later send.

Campaign failover (WhatsApp or SMS after RCS Failed / Sent) is a separate portal product: create a rule under Fallback Routing, then Enable Fallback on compose. That is not an RCS capability check.

Configure DLR under Webhook / DLR: endPoint, header, botId, optional endPointIncomingMessage. Event shapes: RCS webhook.

Partner connectors

Supported integrations — not the core send API:

PathIntegration
POST /v1/rcs/webengage and /v1/rcs/webengage-messageWebEngage (rcsData, metadata)
POST /v1/rcs/clevertap and /v1/rcs/clevertap-messageCleverTap (rcsContent, optional smsContent fallback)
POST /v1/moengage/genericMoEngage (messages[] with destination, rcs, sms, fallback_order)

Inbound provider webhooks (/v1/rcs/webhook, /v1/rcs/karix/webhook) are platform endpoints. Customers do not call them; they receive events on the URL they configure in the portal.

Pages: WebEngage, CleverTap SMS, MoEngage RCS.

How a send behaves

  1. API key is resolved. The user must be active.
  2. botId must exist on the account.
  3. templateName must exist (and typically be approved).
  4. The number is validated. Blocklist numbers are skipped.
  5. Credits are checked. The job is queued.
  6. If the device is not RCS-capable, fallback to SMS / WhatsApp may apply when configured.
  7. Status appears in RCS reports and on the customer DLR webhook.

Typical errors

SituationWhat it means
Missing / bad apikeyInvalid API key
Unknown botIdBot not on this account
Missing templateNameTemplate name required
Unapproved / missing templateRegister and approve the template first
Low walletInsufficient credits
Blocked numberNumber skipped
Device not RCS-capableUse capability check and/or SMS / WhatsApp fallback

See Errors. Next: Send RCS, RCS templates, Team Inbox, Recipes.

Was this page helpful?