Create Call To Action (CTA) Template

Create a template with URL buttons. You can mix Dynamic URLs (containing variables like {{1}}) and Static URLs.

Example Request Body

{
  "name": "TEMPLATE_NAME",
  "language": "en",
  "category": "MARKETING",
  "components": [
    {
      "type": "BODY",
      "text": "Hi {{1}}, This is test template",
      "example": {
        "body_text": [
          [
            "John"
          ]
        ]
      }
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "Dynamic Link",
          "url": "[https://www.example.com/](https://www.example.com/){{1}}",
          "example": "[https://www.example.com/test](https://www.example.com/test)"
        },
        {
          "type": "URL",
          "text": "Static Link",
          "url": "[https://www.example.com](https://www.example.com)"
        }
      ]
    }
  ]
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to v24.0
string
required
Body Params
string
string
string
enum
Allowed:
components
array of objects
components
Headers
string
required

Provide your Access Token. Format: YOUR_API_KEY

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json