RCS Messages APIs

The RCS Messages API is a robust HTTP-based service designed to streamline the submission of diverse message types, including plain text, rich text, and rich card messages.

This API supports a wide array of message types - from simple plain text to rich multimedia cards and interactive carousels - making it ideal for applications that require flexible and engaging communication.

Whether you are running marketing campaigns or sending transactional updates, the Messaging API provides the tools needed to deliver content effectively and interactively.

Media Types

The following media types are supported for the US region:

Media TypeDocumentation TypeExtensionWorks with Rich Cards
application/oggOGG audio.ogxNo
application/pdfPDF.pdfYes (Only for Google Messages in India)
audio/aacAAC audio.aacNo
audio/mp3MP3 audio.mp3No
audio/mpegMPEG audio.mpegNo
audio/mpgMPG audio.mp3No
audio/mp4MP4 audio.mp4No
audio/mp4-latmMP4-latm audio.mp4No
audio/3gpp3GPP audio.3gpNo
image/jpegJPEG.jpeg, .jpgYes
image/gifGIF.gifYes
image/pngPNG.pngYes
video/h263H263 video.h263Yes
video/m4vM4V video.m4vYes
video/mp4MP4 video.mp4Yes
video/mpeg4MPEG-4 video.mp4, .m4pYes
video/mpegMPEG video.mpegYes
video/webmWEBM video.webmYes
📘

Notes:

  • The maximum size of an individual file must not exceed 100 MiB.
  • The total combined size of all media and PDF attachments within a single message must not exceed 100 MiB.

RCS Message Body

The following is the RCS Message body used in RCS Message APIs:

Field NameJSON KeyTypeRequiredDescription
FromfromStringYesService code or sender ID
Toto[]stringYesRecipient mobile numbers
TexttextStringOptionalPlain text message
RefrefStringOptionalCustom reference
Ref1ref1StringOptionalCustom reference 1
Ref2ref2StringOptionalCustom reference 2
Suggestionssuggestions*[]SuggestionOptionalSuggested replies or actions
RichCardStandalonerichCardStandalone*RichCardStandaloneOptionalStandalone rich card
RichCardCarouselrichCardCarousel*RichCardCarouselOptionalCarousel rich cards
Filefile*MediaFileOptionalFile message attachment
TTL SecondsttlSecondsStringOptionalMessage expiry time

TTL (Time-to-Live) Seconds

The following table outlines common use cases and their recommended TTL values.

Use CaseRecommended TTL
OTP / Transactional300–900s (5–15 min)
Alerts / Notifications1–6 hours
Marketing / Campaigns24–48 hours
Long-lived messagesMaximum 7 days (T-Mobile, Verizon)
📘

Note:

The AT&T carrier default value of TTL is set to 72 hours (when it is not explicitly mentioned in the request payload).

RichCardStandalone

File NameJSON KeyTypeRequiredDescription
CardOrientationcardOrientationStringYesVertical / Horizontal
ThumbnailImageAlignmentthumbnailImageAlignmentStringOptionalImage alignment
Contentcontent*RichCardStandaloneContentYesCard content

RichCardStandaloneContent

File NameJSON KeyTypeRequiredDescription
TitleheightStringYesCard title
DescriptiondescriptionStringYesCard description
Mediamedia*MediaContentOptionalMedia content
Suggestionssuggestions*[]SuggestionYesActions or replies

MediaContent

File NameJSON KeyTypeRequiredDescription
HeightheightStringYesMedia height
Filefile*MediaFileOptionalMedia file

MediaFile

File NameJSON KeyTypeRequiredDescription
FileUrlfileUrlStringYesFile URL
ThumbnailUrlthumbnailUrlStringYesThumbnail URL
ContentDescriptioncontentDescriptionStringYesFile description

RichCardCarousel

File NameJSON KeyTypeRequiredDescription
CardWidthcardWidthStringYesCard width
CardContentscardContents*[]RichCardCarouselContentYesCarousel cards

RichCardCarouselContent

File NameJSON KeyTypeRequiredDescription
TitletitleStringYesCard title
DescriptiondescriptionStringYesCard description
Mediamedia*MediaContentYesMedia content
Suggestionssuggestions*[]SuggestionYesList of suggestion items to be displayed to the end user as quick reply options.

Benefits

  • Flexibility: Supports a wide range of message types for different use cases.
  • Interactivity: Chiplists and suggestions enhance user engagement.
  • Rich Media Support: Enables visually appealing and informative messaging.

Key Use Cases

Following a set of key use cases is presented; of course, you can use RCS messages for any other use cases fitting your purposes and interactions with end-users.

Marketing Campaigns

Send promotional messages using rich cards and carousels to showcase products, offers, or events.

Use chiplists and suggestions to guide users toward specific actions like “Buy Now” or “Learn More.”

Customer Engagement

Deliver personalized messages with rich multimedia content to enhance user experience.

Use rich text and chiplists to provide interactive FAQs or support options.

Testing and QA

Submit test traffic with various message types to validate rendering on different mobile display and backend processing.

Ensure compatibility across devices and platforms by simulating different message types.

Interactive Surveys and Feedback Collection

Use chiplists and suggestions to create quick-response surveys.

Rich cards can be used to present questions with visual context.

Transactional Messaging

Send order confirmations, delivery updates, or appointment reminders using plain or rich text formats.

Include actionable links or chiplists for rescheduling or tracking.

This API supports the following message types:







© 2026 Kaleyra Inc. All rights reserved.
Trademarks, logos and service marks displayed on this site are registered and unregistered trademarks of Kaleyra Inc.