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.

FieldTypeLimitDescription
smsFallbackTextstring1600 CharactersThe 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.

FieldTypeLimitRequriedDescription
mmsFallbackContent.urlstring255 CharactersYesLink to the hosted media to send.
mmsFallbackContent.textstring1600 CharactersNoText sent with the media.
mmsFallbackContent.subjectstring80 CharactersNoSubject 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.

Did this page help you?