# RCS Guide | Signal House API Docs

> Send rich RCS messages from a branded agent, with an SMS or MMS fallback for handsets that cannot receive RCS.

Source: https://docs.signalhouse.io/rcs

---

# RCS Guide

RCS sends rich messages from a branded agent, with an SMS or MMS leg behind it for a handset that cannot take RCS. One call to `POST /message/rcs` reaches every recipient, and you pay for the leg that delivers.

- [RCS Quickstart](https://docs.signalhouse.io/rcs-quickstart): from a verified brand to your first live message.
- [RCS Agents](https://docs.signalhouse.io/rcs-agents): create, test and launch the sender.
- [Templates](https://docs.signalhouse.io/templates): the content blocks, variables and the template API.
- [Messages](https://docs.signalhouse.io/messages): `POST /message/rcs`, validate and estimate.
- [Webhooks](https://docs.signalhouse.io/webhooks): every RCS event and its payload.
- [RCS Errors](https://docs.signalhouse.io/rcs-errors): every code, and what to do about it.

## Message statuses

The send response says `QUEUED` or `BLOCKED` for each recipient. The message then moves through these statuses, and each move fires its event.

| Status | Meaning | Event |
| --- | --- | --- |
| `ENQUEUED` | Accepted and queued. | `MESSAGE_QUEUED` |
| `DEQUEUED` | Picked up for sending. | None |
| `SENT` | The carrier partner accepted it. | `MESSAGE_SENT` |
| `DELIVERED` | It reached the handset over RCS. The RCS leg is charged now. | `MESSAGE_DELIVERED` |
| `READ` | The recipient read it. A read report that arrives first also charges the leg. | `MESSAGE_READ` |
| `FALLBACK` | The RCS leg did not deliver and the fallback leg took over. `fallbackMessageId` names it. | `MESSAGE_FALLBACK_TRIGGERED`, then `MESSAGE_FALLBACK_SENT` and `MESSAGE_FALLBACK_DELIVERED` |
| `BLOCKED` | It never reached a carrier. `blockReason` says why. Nothing is charged, and no fallback runs. | `MESSAGE_BLOCKED` |
| `EXPIRED` | It reached its expiry with no fallback to run. | `MESSAGE_EXPIRED` |
| `FAILED` | It failed with no fallback to run, or its fallback leg could not go. `reason` says why. | `MESSAGE_FAILED` |

## Fallback

`fallback.mode` decides what a recipient gets when RCS does not deliver.

| Mode | Behavior |
| --- | --- |
| `auto` | RCS first, then the fallback. The default. |
| `rcs_only` | RCS only. A message RCS cannot deliver ends FAILED or EXPIRED. |
| `sms_only` | The fallback leg alone. RCS is never tried. |

- **The sender** is a Ready number on the agent's linked Active campaign. The send's `fallback.from` wins, then the template's, then the agent's `defaultFallback`. A fallback that is on with no sender fails the request.
- **The text** comes from the send, then the template, then a generated version of the RCS content. Text you write goes as written. Generated text names the sender and ends with the opt-out sentence.
- **The leg** is an ordinary SMS or MMS, so it has its own message, billed like any other. `parentMessageId` on it names the RCS message.
- A recipient on a carrier the agent has not launched on, or a handset known not to take RCS, goes straight to the fallback with no RCS attempt.
- A message with several parts counts as delivered when any part delivers, and falls back only when every part has failed.

`fallbackReason` says why it ran. See [Fallback reasons](https://docs.signalhouse.io/rcs-errors#fallback).

## Time to live

Each traffic type has a default and a range, in seconds. Send `ttlSeconds` or `expireTime` to change it. A message with no outcome at its expiry waits out a short grace period for a late report, then falls back. Expiry does not prove a message was withdrawn, so a recipient may rarely get both legs.

`PROMOTION` traffic keeps quiet hours: 8:45 pm to 9 am in the recipient's time zone, read from the area code. Its time to live ends when the recipient's quiet hours start, so it cannot arrive inside them. A recipient already in quiet hours, or whose quiet hours start in under 10 minutes (the shortest `PROMOTION` time to live), is blocked with `QUIET_HOURS`. Its fallback leg is checked again when it runs.

| Traffic type | Default | Range | Grace |
| --- | --- | --- | --- |
| `AUTHENTICATION` | 30 | 15 to 300 | None |
| `TRANSACTION` | 900 | 60 to 86,400 | 60 |
| `SERVICEREQUEST` | 900 | 60 to 86,400 | 60 |
| `ACKNOWLEDGEMENT` | 300 | 60 to 3,600 | 60 |
| `PROMOTION` | 14,400 | 600 to 172,800 | 300 |

## iPhone and Android

An iPhone draws some content differently from Android. `POST /message/rcs/validate`, the estimate and the template checks warn you, and a warning never blocks a send. See [Warnings](https://docs.signalhouse.io/rcs-errors#warnings) for each one.

- More than two suggested actions collapse into an Options menu.
- A card with more than one button shows them under one Options menu.
- A card title or description stops at three lines. The rest opens in a full-text view.
- A horizontal card shows vertically, with its image cropped.
- A GIF in a card shows as a still image.
- A link in card text cannot be tapped, and a code in a card cannot be copied.

## Limits

`GET /template/capabilities` publishes these numbers, and is the place to read them from code.

| Item | Limit |
| --- | --- |
| Recipients per request | 100 |
| Recipients per batch (POST /message/rcs/batch) | 10,000 |
| Blocks per message or template | 20 |
| Text message | 3,072 characters |
| Card title and description | 200 and 2,000 characters |
| Button and chip label | 25 characters |
| Postback data | 2,048 characters |
| Suggestions per message | 11 |
| Buttons per card | 4 |
| Carousel | 2 to 10 cards |
| Variables per template | 50 |
| Calendar title and description | 100 and 500 characters |
| URL length | 2,048 characters |
| Media per message | 100 MB. Over 5 MB adds a T-Mobile surcharge |
| Uploaded image | Stored at most 1920 px on its longest edge and 5 MB, compressed when larger |
| Numbers per capability check | 500 |

## Billing

- **Rich** is charged per 160-byte segment of each carrier message, and **Rich Media** as one flat event.
- The RCS leg charges when it is delivered or read. A send holds the larger of the two legs, and only the leg that delivers is charged.
- A tap on a button bills on its own, and an inbound message bills too. A file bills as Rich Media and everything else as Rich.
- Test traffic costs nothing on the RCS leg. A fallback it triggers is a real, billed SMS.
- A `CONVERSATIONAL` agent is billed per interactive session: 4 messages in 24 hours, at least 2 from the person and 1 from the agent, start a session that covers every message for 24 hours. Its messages charge as above when they happen. Once a day, each session that closed the day before is repriced to its carrier's session rate plus the session fee. Each account gets two rows a day: `RCS Session Adjustment` (category `RCS_SESSION_ADJUSTMENT`) reprices the Signal House fees to the session fee, and `RCS Session Carrier Adjustment` (category `RCS_SESSION_CARRIER_ADJUSTMENT`) reprices the carrier charges to the carrier's session rate. They are separate because the carrier part is passed through at cost, as the per-message carrier charges are. Each row credits its difference, or charges it when the session costs more than the messages did. When session data arrives late, a correction row follows.
- Launch fees are per agent. A launched agent then pays a monthly fee, from a month after its first carrier launch, and renews yearly, from a year after it. See [RCS Agents](https://docs.signalhouse.io/rcs-agents).

`POST /message/estimate` prices a draft and `POST /message/rcs/validate` runs every check a send runs. Neither sends or charges.

## Opt-outs

- A STOP to an agent blocks its `PROMOTION` traffic, and `USER_UNSUBSCRIBED` fires.
- Essential traffic, every other traffic type, still reaches the recipient over RCS after a STOP to the agent. Its SMS fallback leg follows the SMS rules, so the STOP blocks that leg, and a recipient who would get the fallback leg alone is blocked with `OPTED_OUT`.
- A STOP to the agent's linked campaign, the fallback number, blocks every kind of traffic from the agent.
- A `PROMOTION` send also reads the opt-outs of the brand's other agents.
- A later START clears the agent and its campaign, and `USER_SUBSCRIBED` fires.
- Every agent answers STOP and the other standard opt-out words, HELP and INFO, the words its linked campaign registers, and, from any handset, BAJA, PARAR and ARRET to opt out, START, ALTA and UNSTOP to opt back in, and AIDE for help.
- A chip or button whose label is a STOP word opts out, and so does a `postbackData` that is one as a whole value. Choose both with care.

## Testing

Before any carrier launches, an agent reaches its approved testers only. `isTest` marks a send as a test, and every recipient must be an approved tester. `simulate` fakes the RCS outcome with no carrier call, for approved testers only:

| simulate | Result |
| --- | --- |
| `delivered` | The message reads as delivered. |
| `read` | The message reads as read. |
| `not_capable` | The fallback runs, as for a handset that cannot take RCS. |
| `ttl_expired` | The fallback runs, as for a message that expired. |

## Data handling

An RCS message passes through Signal House, our carrier partner, Google and the recipient's mobile carrier before it reaches the handset. Its SMS or MMS fallback leg passes through the SMS carriers.

Signal House stores each message's content, recipient, statuses, taps and replies, and each opt-out, so that you can read them through the API and the portal.

Message text and images go to a content moderation service when you send, and when you check or publish a template.

Files you upload for templates and agents are served from a public URL: anyone with the link can open them.

Do not send passwords, full payment card numbers or protected health information in RCS messages.
