API Reference

Properties

FieldTypeDescriptionRequired
fromstringThe sender name or ID.Yes
toarray of stringsAn array of recipients' phone numbers.Yes
countryCodestringThe country code or country of the recipient's phone numbers. e.g NG, Nigeria, 234Yes
templateCodestringThe template code for the Dynamic RCS template.Yes
templateDataobjectThe value mapping of each variable added to the dynamic template e.g. {{firstname}}
callbackstringThe callback URL to receive delivery status updates.No
metadatastringUnique string

Example

{ "from": "Tracksend", "countryCode":"234", "to": ["07082632448"], "templateCode": "t-f80943c233b3be404703b57f1c6a0c03", "templateData": { "firstname": "John", "lastname": "Doe", "country": "Nigeria" }, "callback": "http://example.com", "metadata": "5693142g3h1234" }
{ "from": "Tracksend", "countryCode":"234", "to": ["07082632448","08188303092"], "templateCode": "t-f80943c233b3be404703b57f1c6a0c03", "templateData": { "firstname": "John", "lastname": "Doe", "country": "Nigeria" }, "callback": "http://example.com", "metadata": "5693142g3h1234" }
Body Params
string
required

The sender name or ID

string
required

The country code of the recipient phone number

required
string
required

The template code for the RCS message

templateData
object

The template variables defined while creating template for the RCS message

string

The callback URL to receive delivery status updates

string

Unique string

Headers
string
Response

Language
Credentials
Choose an example:
application/json