Preview a campaign send
preview_campaign_sendRead-only: nothing is sent. Returns exactly what send_campaign would do right now — would it go out (and if not, why), and how many people would receive it. With to, reports address by address who is kept and who is excluded, with the reason (unsubscribed, bounced, complained, not in the list…). If the monthly quota is not enough, would_send is false, blocked_code is quota_exceeded and blocked_details gives the figures and the reset date. Call it BEFORE send_campaign, and give that number to the person when you ask them to confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign identifier. | |
| to | No | Optional. The addresses to restrict the send to. Omitted = the campaign's whole audience. |