Create campaign
Campaigns
Create campaign
Create a new email campaign
POST
Create campaign
Documentation Index
Fetch the complete documentation index at: https://docs.mailglyph.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.
Body
application/json
Campaign name
Email subject line
HTML email body
Sender email address (must be from verified domain)
Target audience type
Available options:
ALL, SEGMENT, FILTERED Campaign description
Sender name
Reply-to email address
Segment ID (required if audienceType is SEGMENT)
Root segment condition structure using logical groups.

