- Filter by campaign type
- Pagination support
- Sort by date or performance
- Include campaign statistics
0- Draft1- Scheduled2- Sending3- Sent4- Quarantined5- Evaluating6- EvaluationFailed7- WarmingUp
Authorizations
Team API key for authentication. Find your API key in SendX Settings β Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_hereQuery Parameters
Number of campaigns to skip
x >= 0Maximum number of campaigns to return
1 <= x <= 100Filter by campaign type
all, draft, scheduled, sent Response
β Campaigns retrieved successfully
Internal campaign name
"Summer Sale 2024"
Email subject line
"π Summer Sale - 50% Off Everything!"
Sender id
"sender_4vK3WFhMgvOwUNyaL4QxCD"
Campaign scheduling type.
Values:
0- Schedule later1- Send Now
datetime for scheduled campaigns (required if scheduleType=1)
"2024-12-30"
Campaign timezone
"America/New_York"
Included list IDs with prefix
[
"list_vUCjsUmrVXtSppS8rD0Ssq",
"list_0tOFLp5RgV7s3LNiHrjGYs"
]Excluded list IDs with prefix
["list_Mn7Op8Qr9St0Uv1Wx2Yz3A"]Unique ID for the campaign
"campaign_6h8DnYrHt4KktCnG8PDO5Z"
Email preview text
"Limited time offer - Shop now!"
HTML email content
Plain text email content
Campaign status.
Values:
0- Draft1- Scheduled2- Sending3- Sent4- Quarantined5- Evaluating6- Evaluation Failed7- Warming Up
Whether the campaign is archived
false
URL to the campaign screenshot
"https://cdn.sendx.io/campaigns/screenshot_abc123.png"
Time-related condition for the campaign
"9:00 AM"
Timezone for the scheduled send
"America/New_York"
Send at specified time in each contact's timezone
true
Preferred time condition, in case of smartSend and sendInContactTimeZone
"10:00 AM"
Preferred timezone for smart send optimization
"America/Los_Angeles"
Campaign delivery strategy
"Batch Sending"
Included segment IDs
["segment_engaged_30_days"]Included tag IDs with prefix
[
"tag_6GN4DNyrHNt4KktCNG8PDO",
"tag_UhsDkjL772Qbj5lWtT62VK"
]Excluded segment IDs
[]Excluded tag IDs with prefix
["tag_Bv4Wq9Xp6Zn5Ly0Kt8JhQe"]