Campaigns

Validate a campaign

Run a non-mutating pre-send check and get the full readiness report: how many contacts will receive the campaign, how many are suppressed or excluded, which contacts are missing template variables, and a final can_send verdict. Nothing is sent or changed. Fix reported variable gaps with Update a campaign (variable_fallbacks / excluded_contact_ids), then launch with Send a campaign. Requires the campaigns:read capability.

get/email/campaigns/{id}/validate

Request

  • Base URL: https://www.unitpost.com/api/v1
  • URL: https://www.unitpost.com/api/v1/email/campaigns/{id}/validate
  • Auth: HTTP bearer

Response

The validation report.

object'campaign_validation' required
total_membersinteger required
sendableinteger required
suppressedinteger required
excludedinteger required
unresolved_variablesstring[] required
can_sendboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.