List campaigns
Changed onLists campaigns for the authenticated company, optionally filtered by status or label. Each item includes delivery pacing (sendTimeOptimization, sendTimeWindowHours, spreadOverHours, sendInRecipientTimezone, scheduledTimezone) and the recipient cap (maxRecipients) so a company-wide STO audit does not need one getCampaign call each. STO is campaign-only; sequences use sendingWindow.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/campaigns
- AuthHTTP bearer
Query parameters
Optional campaign status filter.
Optional label name filter. Only campaigns assigned this label are returned.
Optional page size. Values above 100 are capped to 100.
Optional zero-based row offset.
Response
Campaigns returned
Example response
{
"success": true,
"campaigns": [
{
"id": "camp_abc123",
"name": "April Launch",
"type": "email",
"subject": "A quick update",
"emailId": "email_abc123",
"emailPreset": "branded",
"status": "draft",
"labels": [
"edm",
"api"
],
"spreadOverHours": 6,
"sendTimeWindowHours": 12,
"scheduledTimezone": "America/New_York"
}
],
"pagination": {
"limit": 50,
"count": 50,
"total": 125,
"hasMore": true
}
}Changes
- warning
added the new
pushenum value to the//response property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
added the optional property
//to the response with the status
- info