Sending Media Message

Use this API to send messages containing audio, documents, images or videos to your customers.

post/rcs/v1/messages

Request

  • Base URL
    https://apis.cequens.com/conversation
  • URL
    https://apis.cequens.com/conversation/rcs/v1/messages
  • Auth
    API key in header Authorization

Request body

tostring required

The mobile number to send message to

typestring required

A type of the media message "audio" || "document" | "image"| "video"

fileUrlstring required

The URL of the media to be sent Use only with HTTP/HTTPS URLs.

Response

200

namestring
sendTimestring

Example response

{
  "name": "phones/+20xxxxx/agentMessages/tbNXuZ5NA1m4F46Ydz2CKChFSg7X8hsV",
  "sendTime": "2024-08-28T06:57:00.512321Z",
  "contentMessage": {
    "contentInfo": {
      "fileUrl": "https://{server-domain}/sample.jpg"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.