Submit a template
flow_submit_templateSends a draft template on its way to live (ids from flow_list_templates). An SMS template goes to Bind's review (a declined one can be sent again), or straight live where the brand needs no review; a Viber template goes live; a WhatsApp template goes to Meta's review, whose decision comes later (read it with flow_get_template). A WhatsApp template is submitted once: change a declined one in the portal. The answer gives the status and the template's link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>",
"id": "<id>"
},
"name": "flow_submit_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| brandId | No | The id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active. | |
| channel | Yes |