Template

Sending template messages

Studio templates can be createdarrow-up-right that either apply to some or all channel types depending on the options selected when creating the template. In all cases sending the template is the same for all channels

circle-info

All examples below must be sent within the template field of a message as shown below

{
 "receiver": {
   "contacts": [
     {
       "identifierValue": "+31612345678"
     }
   ]
 },
 "template": {...}
}

Text template with variable

Studio template

Template body

{
   "projectId":"ce6a2fd6-b2fa-4f5a-a2cd-f3bd15883318",
   "version":"latest",
   "locale":"en",
   "parameters":[
      {
         "type":"string",
         "key":"name",
         "value":"Robert"
      }
   ]
}

Image template with variable

Studio template

Template body

Image with a variable in a button

Studio template

Template body

Last updated

Was this helpful?