Mail Campaigns
Create Campaign
Create a new mail campaign
POST
Create a new postcard campaign. By default, the campaign is created in
draft status. Set launch to true to send immediately.
Audience: Provide exactly one audience type: property_ids, contact_ids, or list_ids. Mixing audience types in a single campaign is not supported.
Design: Each step can reference an existing design_id or provide a design_prompt to generate a design on the fly. Since designs are HTML-based, generation is instant — no polling required. The postcard size is determined by the design.
Credits: You don’t need credits to create a draft. Credits are checked when you launch the campaign (either via launch: true or POST /campaigns/{id}/send).
string
required
Campaign name (max 255 characters)
string
Campaign description (max 5000 characters)
number[]
Property IDs to send to. Mutually exclusive with
contact_ids and list_ids.number[]
Contact (person) IDs to send to. Mutually exclusive with
property_ids and list_ids.string[]
Saved list IDs to pull audience from. Mutually exclusive with
property_ids and contact_ids.string
Who to address mail to:
owner (mailing address) or resident (property address). Required when using property_ids and for property-based list_ids. Not needed for contact_ids or people lists.object[]
required
Mail steps (1-5). Each step needs either a
design_id or design_prompt.string
Your name displayed on the postcard
string
Contact phone number on the postcard
string
Contact email on the postcard
string
URL for the QR code on the postcard
string
ID of a saved return address
object
Inline return address (alternative to
return_address_id)boolean
default:"false"
Launch the campaign immediately after creation. If
false, the campaign is created in draft status and you can launch it later with POST /campaigns/{id}/send.