Send a test message
flow_send_testSends one live template from its sender to up to 10 numbers or a contact group of at most 10, as a campaign step would send it: real messages, charged like campaign messages, never counted in a campaign's results. A contact gets its own fields filled in (and, on a marketing test, an opt-out link); any other number gets the fallbacks. Until the company is verified, a test reaches only the user's own number, within a daily allowance. When the user asks for a test to themselves, pass toMe: it sends to the number on their profile; never ask them for it. Draft templates are tested in the portal.
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>",
"senderId": "<senderId>",
"templateId": "<templateId>"
},
"name": "flow_send_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toMe | No | Send to the signed-in user's own number, the one on their profile | |
| 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 | ||
| groupId | No | Send to this group's members instead (ids from flow_list_groups) | |
| senderId | Yes | From flow_list_senders | |
| templateId | Yes | A live template of that sender, from flow_list_templates | |
| messageType | No | The template's own message type if left out | |
| phoneNumbers | No | ||
| whatsappNumberId | No | WhatsApp only: the sender's number that sends; the first that can, if left out |