Create WhatsApp template
create-whatsapp-templateCreate a WhatsApp or SMS media template via POST /v1/media-block/create. Set type to sms for SMS templates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name | |
| text | Yes | Template body text | |
| type | No | Leave empty for WhatsApp. Set sms for SMS templates. | |
| extra | No | Additional fields from the Postman request body | |
| buttons | No | Button objects for CTA, URL, or postback | |
| language | No | Template language code such as en | |
| template_specs | No | Category, header, buttons, and other template specs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON or plain text body returned by the Botsify HTTP API |