Send an RCS message

Sends a message from an RBM agent to a mobile device. The message can contain text, rich card, and suggestions. The message can also be revoked between the time that it is sent and the time that it is delivered.

See some example RCS message payloads here.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Your unique customer key.

string
required

Target device's phone number in E.164 format.

Query Params
string
required

Alphanumeric string identifying your agent. To get your agentId, speak to your Vibes business rep.

string

An alphanumeric 36-character UUID identifying the message. You can set this to whatever UUID you like, but if it is left blank, it will be filled in by the system.

Body Params
contentMessage
object
required

The content of the agent message.

string
enum
Defaults to MESSAGE_TRAFFIC_TYPE_UNSPECIFIED

Optional. The message traffic type.

Allowed:
string

Optional. Timestamp in UTC when this message will be considered expired.

string

Optional. Time in seconds the message will live before it is automatically revoked.

Responses

403

Forbidden agent. The agentId is either not valid, or it has not deployed on the provider.

422

Unprocessable entity. Specific data errors have occurred in the request. Additional details will be available in the content of the error.

Example - Invalid Phone Number. The phone number is not a valid mobile number, or is on a unsupported carrier.

429

Quota exceeded. You've either exceeded the number of calls allowed, or a downstream server is busy. Please try your request again later.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json