messages_send_test
Body {to: '<your-email>', mailbox_sqid?: '<sqid>'} — renders the message against its lead's data and sends to to from the chosen mailbox (or the default one). to must be your own: the address of a user of this account, or a mailbox of this workspace. A test copy skips the lead's opt-out and country checks because it doesn't go to the lead, so it can't be pointed at anyone else. Doesn't change the real message's status.
Method: POST /api/v1/workspaces/{workspace_sqid}/messages/{sqid}/send-test/
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": {
"sqid": "<sqid>",
"body": "<body>",
"subject": "<subject>"
},
"name": "messages_send_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| sqid | Yes | ||
| channel | No | ||
| subject | Yes |