post https://mytenant.cx.onecloud.com/clientweb/smsapi/v1/Messages
Sends an SMS or MMS message to the designated phone number.
Parameters
Parameter | Description |
---|---|
To | Destination number. Mandatory. Must be in E.164 format. |
From | Origination number. Mandatory. Must be specified in E.164 format. The number must be configured in BPCC as an access number of Text Out type. If you intend to process possible replies, this number must also be specified as SMS/MMS access number for the messaging scenario entry that will be used to direct such replies to a chat service. Alphanumeric Sender IDs are not currently supported. |
Body | Text of the message to be sent. Mandatory unless MediaUrls parameter is defined (see below). In other words, mandatory for SMS (text-only) and optional for MMS messages. Messages longer than 160 characters will be segmented for transmission. |
MediaUrls | An array of URLs for the media files to be sent in the MMS message. Optional. May contain up to 10 items. |