Properties

FieldTypeDescriptionRequired
fromstringThe sender name or ID.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
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"
}
Language
Authorization
Header