Custom SMS and MMS fallback
This guide will cover adding SMS and MMS fallback
Pre-requisites
- A signed agreement is required prior to rendering service. To initiate an agreement, connect with one of our sales representatives.
- A successfully launched RCS Agent
- API Keys as provided by your First Orion Account Team
- A method/system/platform capable of hitting the ENRICH APIs
When you send an RCS message to a phone that can't receive RCS, the message falls back to SMS or MMS. By default, ENRICH converts your RCS content into SMS automatically. With custom fallback, you choose exactly what the recipient sees instead.
You add custom fallback to the request body of the outbound message endpoint (POST /fobm/messaging/outbound/{agentId}). Both fields are optional.
Custom SMS Fallback
Add smsFallbackText to your request.
| Field | Type | Limit | Description |
|---|---|---|---|
| smsFallbackText | string | 1600 Characters | The text sent as the SMS body when the message falls back to SMS. |
- When the message falls back to SMS, this text is sent in place of the automatic conversion of your TEXT, MEDIA, CHOICE or CARD content.
- Your RCS message itself is unchanged.
- If you leave the field out, or send it blank, the automatic conversion is used.
{
"number": "+14155552671",
"messageType": "TEXT",
"messageContent": { "text": "Your appointment is confirmed for 3 PM." },
"smsFallbackText": "Your appointment is confirmed for 3 PM. Reply STOP to opt out."
}Custom MMS fallback
Add mmsFallbackContent to your request to control what is sent when the message falls back to MMS.
| Field | Type | Limit | Requried | Description |
|---|---|---|---|---|
| mmsFallbackContent.url | string | 255 Characters | Yes | Link to the hosted media to send. |
| mmsFallbackContent.text | string | 1600 Characters | No | Text sent with the media. |
| mmsFallbackContent.subject | string | 80 Characters | No | Subject line. 40 characters or fewer is recommended for best deliverability. |
If you leave mmsFallbackContent out, your original RCS media is passed through to MMS as-is.
"mmsFallbackContent": {
"url": "https://www.cdn.com/file.jpg",
"text": "Your appointment is confirmed",
"subject": "Appointment reminder"
}Good to know
- Fallback only happens when the recipient can't receive RCS. Recipients who can receive RCS always get your RCS message.
- If MMS fallback is turned on for your agent and your message includes media (a MEDIA, CARD or CAROUSEL message with a URL), the fallback goes out as an MMS, not an SMS. Use mmsFallbackContent to control what that MMS contains.
- You can use smsFallbackText and mmsFallbackContent in the same request.
Updated about 1 hour ago
Did this page help you?