WhatsApp templates
WhatsApp requires templates to be approved by Meta before they can be sent. A template has a category (utility, marketing, or authentication), a language, body text with optional variables, and optional header and buttons. Adraa Inbox includes a gallery of common templates to start from, and you can create your own. Submitted templates show their approval status once Meta reviews them.Dynamic website buttons
In the template editor, add a Website button and set URL type to Dynamic URL. Enter a URL ending in{{1}}, such as https://shop.example.com/orders/{{1}}. The fixed part stays the same for every recipient; you supply the final value when sending.
Enter a full Sample URL, such as https://shop.example.com/orders/A-100, so the reviewer can see how the button works. Use one placeholder at the end of the URL. Select Static URL when every recipient should open the same address.
Submit a template through the API
Create a workspace API token, then callPOST /api/v1/whatsapp/templates with the template content:
from selects a connected account by its account ID, phone number ID, or business phone number. You can omit it when your workspace has exactly one connected account.
The endpoint supports UTILITY and MARKETING categories, text headers and footers, and quick reply, website, and phone buttons. Supply bodyExamples for every body variable. Dynamic website buttons require a full sample URL in example.
A successful request returns 201 with the provider’s template ID, status, and category when available:
GET /api/v1/whatsapp/templates lists approved templates only.
After approval, send the template through POST /api/v1/whatsapp/messages. For the example above, include "buttonParameters": [{ "index": 0, "subtype": "url", "value": "A-100" }] to fill the URL suffix. Body variables use the separate parameters array.
See Submit a WhatsApp template in the API reference for all fields and errors. The submission limit is 30 requests per minute per IP.