Send test email
send_post_testSend a test email for a Beehiiv post to one or more recipients so writers can verify layout and links before publishing.
Instructions
Send test email. Changes account state and requires confirm=true for the user-requested action. OAuth integrations require posts.
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": {
"publication_id": "<publication_id>",
"post_id": "<post_id>"
},
"name": "send_post_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete JSON body instead of individual body flags. Supports nullable fields and nested bulk structures. Cannot be combined with body flags or payload_file. | |
| post_id | Yes | The prefixed ID of the post object | |
| payload_file | No | Local JSON request body file, at most 5 MB. Contents are validated before the API call and are never logged. | |
| publication_id | Yes | The prefixed ID of the publication object | |
| recipient_emails | No | One or more email addresses to send the test to. Returns 422 if the daily test send limit has been reached. |