Templates

Message Templates allow you to save time in reusing frequent content, avoiding to build it from scratch every time. Moreover, Message Templates support multi-channel communications, scheduling and customisation via @@variables@@

For example you may want e.g. to send back a message via SMS and/or email to confirm a taxi booking. With the help of Templates you can prepare the content for the two channels and save it under a single "Taxi Confirmation" Template in order to have it ready each time your customers book a cab. And then have another "Taxi Waiting" Template to be triggered once the taxi has arrived and is ready to pick-up the customer

  • JSON
  • XML

Methods supported

GET
POST
PUT
DELETE

 

API endpoints

{{codeStart}}

# For Templates stored in a User-defined workspace

https://api.<region>.whispir.com/workspaces/:workspace_id/templates

# For Templates stored in the default workspace

https://api.<region>.whispir.com/templates

{{codeEnd}}

 

Header for JSON

{{codeStart}}

application/vnd.whispir.template-v1+json

{{codeEnd}}