API Reference

Create Location Template

Create a template that includes a Location header. Note: You do not need to provide a location example in the header during creation, only the format.

Example Request Body

{
  "name": "location_test",
  "language": "en",
  "category": "MARKETING",
  "components": [
    {
      "type": "HEADER",
      "format": "LOCATION"
    },
    {
      "type": "BODY",
      "text": "Hello {{1}}. Your account is now LIVE, enjoy our services!",
      "example": {
        "body_text": [
          [
            "Name"
          ]
        ]
      }
    }
  ]
}
Language
Click Try It! to start a request and see the response here!