Properties

FieldTypeDescriptionRequired
fromstringThe sender name or IDi.Yes
toarray of stringsAn array of recipients' phone numbers.Yes
countryCodestringThe country code of the recipient's phone numbers.Yes
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

Example

{
    "from": "Tracksend",
    "countryCode":"234",
    "to": ["07082632448"],
    "templateCode": "t-f80943c233b3be404703b57f1c6a0c03",
     "templateData": {
         "firstname": "John",
         "lastname": "Doe",
         "country": "Nigeria"
     },
    "callback": "http://example.com"
}
{
    "from": "Tracksend",
    "countryCode":"234",
    "to": ["07082632448","08188303092"],
    "templateCode": "t-f80943c233b3be404703b57f1c6a0c03",
     "templateData": {
         "firstname": "John",
         "lastname": "Doe",
         "country": "Nigeria"
     },
    "callback": "http://example.com"
}
Language
Click Try It! to start a request and see the response here!