Properties

FieldTypeDescriptionRequired
toarray of stringsAn array of recipients' phone numbers.Yes
templateCodestringThe template code for the Dynamic Whatsapp 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

{
    "to": ["07082632448"],
    "templateCode": "w-744483959940383",
     "templateData": {
         "firstname": "John",
         "lastname": "Doe",
         "country": "Nigeria"
     },
    "callback": "http://example.com",
  	"metadata": "5693142g3h1234"
}
{
    "to": ["07082632448","08188303092"],
    "templateCode": "w-744483959940383",
     "templateData": {
         "firstname": "John",
         "lastname": "Doe",
         "country": "Nigeria"
     },
    "callback": "http://example.com",
  	"metadata": "5693142g3h1234"
}
Language
Authorization
Header