Reference Turnkey Applications Tutorials Visual Designer
Reference Turnkey Applications Tutorials Visual Designer
    • REST API
      • Overview
      • API Endpoint
      • Authentication
      • Requests
      • Responses
      • Paging
      • Reason Codes Dictionary
    • Management APIs
      • Accounts
      • Identity Access Management BETA
        • Identity Access Management Overview
        • Identity Access Management API
          • User Management
            • Create a User
            • Update a User
            • Retrieve a User
            • Delete a User
          • API Keys Management
            • Create an API Key
            • Update an API Key
            • Retrieve an API Key
            • Delete an API Key
      • Applications
      • Clients
        • Create a Client
        • Delete a Client
        • Change Client’s Password
        • Get a List of Available Clients
      • Incoming Phone Numbers
        • IncomingPhoneNumber Instance Resource
        • IncomingPhoneNumbers List Resource
        • Local IncomingPhoneNumber Factory Resource
        • Toll-Free IncomingPhoneNumber Factory Resource
        • Mobile IncomingPhoneNumber Factory Resource
        • Attach a phone number to an application
        • Enable Incoming MMS for an Application
        • Delete a phone number
        • List of Phone Numbers
        • Incoming Phone Number Regex Support
      • Notifications
      • Usage Records
      • Trace Records
    • Voice
      • Calls
        • Call List Resource URI
        • Making a Call
        • Modifying Live Calls
        • Examples
        • List Filter
        • Paging Information
      • Conference Management
        • Supported Operations
        • Conference List Resource URI
      • Conference Participants Management
        • Participants List Resource URI
      • Gather DTMF
      • Gather Speech
      • Say
      • Play
      • Hold
      • Recordings
      • Refers
        • Resource Properties
        • Supported Operations
        • Paging Information
      • Resume
      • SIP Refer Support
    • Messages API - BETA
      • Overview
      • Channel Identities
      • Send Message
      • Status Callback Parameters
      • Status Callback Events
      • Receive Message
        • Incoming Message Request Parameters
      • Get Message List
      • Get Single Message
      • Message Attributes
      • Status Description
    • SMS
      • Messages
        • Send SMS
        • Get SMS List
        • Get single SMS Information
        • SMS Attributes
      • Error Codes
    • Email
    • RCML
      • Overview
        • Interacting with Your Application
        • RCML Verbs
      • Dial
        • Client
        • Conference
        • Number
        • SIP
      • Email
      • Gather
      • Say
      • Play
      • SMS
      • Message - Beta
      • Hold
      • Resume
      • Hangup
      • Pause
      • Redirect
      • Record
      • Reject
      • Refer
    • Visual Designer API
      • List Application Templates
      • :List a Specific Application Template
      • Create a Visual Designer Application
      • Get Application Details
      • Save Application Changes
      • Create Application Parameters
      • List Application Parameters
      • Delete Application Parameters
      • Upload Application Media Files
      • List Application Media Files
      • Play Application Media Files
      • Delete Application Media Files
      • Get Application Logs
      • Delete Application Logs
      • Get Application Settings
      • Modify Application Settings
      • Rename an Application
      • Delete an Application
      • Get Visual Designer Configuration
    • Turnkey Apps APIs
      • Smart 2FA
        • Sending One-Time Passwords
        • Verifying One-Time Passwords
        • Cancel One-Time Passwords
        • Session Detail Record (SDR)
        • Get list of One-Time Passwords
        • Get a Single One-Time Password
        • Usage Record One-Time Passwords
        • Common Response Error Code
        • Limit
          • Create Limit
          • Update Limit
          • Delete Limit
          • Get List of Limits
      • Call Queuing
      • Auto Attendant
        • Users
        • Announcement
        • Auto Attendant System
        • Menu
        • Schedule
        • Phone Number
        • Usage Records
        • Third Party Integration
      • Number Masking
        • Application
        • Mask Number Pool
        • Context
        • Participants
        • Interactions
        • Usage Records
      • Task Router
docs 1.0
  • docs
    • 1.0
  • docs
  • Enterprise:Messages API - BETA

Messages API Overview

This API is currently in BETA and as such requires that your account is enabled for this API or a specific channel. Please contact your account manager to be granted access and participate in our BETA program.

CPaaS will expand the capabilities of the API and always welcomes your feedback.

Introduction

CPaaS Messages API is an Omnichannel Messaging RESTful API that allows businesses to communicate with customers on their favorite channels thus delivering better and secure customer experiences and engagement increasing brand visibility

The Messages API allows you to send outbound messages, also known as Application to Person (A2P) - and/or receive incoming customer messages, also known as Person to Application (P2A) - across various popular messaging channels supported by the platform.

Channels that are currently supported by the Messages API and planned to be added are listed below:

  • SMS

  • MMS

  • WhatsApp – Coming Soon

  • RCS Business Messaging – Coming Soon

  • Email – Coming Soon

  • Apple Messages for Business – Coming Soon

  • Push Notifications (Android, iOS, Web) – Coming Soon

  • Facebook Messenger – Coming Soon

  • Twitter DM – Planned

  • WeChat – Planned

  • Line – Planned

  • Instagram Business – Planned

  • Telegram – Planned

  • Viber Business – Planned

Additional channels will be supported as they become popular

This API is meant to be generic so that as new channels are added, the API stays the same and minimum changes are required from a development perspective to integrate them allowing a faster time to market to reach additional customers on their favourite channel. It is also meant to be flexible so that full control over channel specific features can be provided to deliver a powerful rich media experience to customers.

The benefits of this approach are that a developer needs to only become familiar with one Messaging API to send and receive messages across all supported channels while offering full control over channel specific features.

How Does the Messages API Work?

Omnichannel Workflow

Message body, images, audio, video files and location are message channel features and functions that are relevant for all channels and they are supported through build in transcoding. For others that are specific to a given channel, the API provides the ability to specify an exact layout for the channel feature you are interested in such as WhatsApp Quick Replies, RCS Carousel, …​

Supported Features

Outbound Messaging

Channel Text Image Audio Video File Location Template Buttons, Quick Replies, Suggestions Product Catalog, Carousel Contact

SMS

Badge Tick1 outline

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

MMS

Badge Tick1 outline

Badge Tick1 outline

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

RCS

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

WhatsApp

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Apple Messages for Business

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Push Notifications

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Facebook Messenger

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Inbound Messaging

Channel Text Image Audio Video File Location Contact

SMS

Badge Tick1 outline

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

MMS

Badge Tick1 outline

Badge Tick1 outline

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

RCS

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

WhatsApp

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Apple Messages for Business

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Push Notifications

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Badge Cross with solid fill

Facebook Messenger

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Badge Tick1 outline

Media Retention

In an A2P scenario, the media content (images, audio, video, etc) is provided by the CPaaS Application, and as such not stored on the CPaaS Service. The content should be publicly accessible, and the retention is managed by the CPaaS Application Developer.

In a P2A scenario, the media content is stored by the channel provider, and as such is channel provider dependent. The retention varies per channel provider. The table below describes the retention period per channel provider.

Channel Retention Period

MMS

2 Days

WhatsApp

14 Days

If you need a longer retention period, you can download and manage the content on your infrastructure.

MMS File Size Limits for the Major Carriers in the US

Carrier Long Code Short Code Toll-Free

AT&T

1 MB

1 MB

525 KB

Verizon

1.2 MB

1.2 MB

525 KB

T-Mobile

1 MB

1 MB

525 KB

Sprint

2 MB

2 MB

525 KB

US Cellular

500 KB

500 KB

525 KB

The file sizes above will generally be passed along to the wireless carriers. However, due to the differences in handsets, file types, and transcoding, we recommend you send attachments no larger than 500 KB to ensure the best chance of delivery.

Get Started

To Get Started and engage your customers through an Omnichannel Experience, please head to our Messages API Documentation.

Platform

Programmable Voice

Programmable SMS

Turnkey Applications

Smart 2FA

Call Queue

Auto Attendant

Number Masking

Task Router

Campaign Manager

Learn

Terms And Conditions

About

ABOUT

CONTACT US

© 2020, All rights reserved.