Get Campaigns
GET/emails/schedule
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Get Campaigns
Request
API Version
2021-04-15Location ID to fetch campaigns from
Maximum number of campaigns to return. Defaults to 10, maximum is 100
Number of campaigns to skip for pagination
Filter by schedule status
activepausecompletecancelledretrydraftresend-scheduledprocessingFilter by email delivery status
allnot-startedpausedcancelledprocessingresumednext-dripcompletesuccesserrorwaitingqueuedFilter campaigns by name
Filter campaigns by parent folder ID
When true, returns only essential campaign fields like id, templateDataDownloadUrl, updatedAt, type, templateType, templateId, downloadUrl and isPlainText. When false, returns complete campaign data including meta information, bulkRequestStatusInfo, ABTestInfo, resendScheduleInfo and all other campaign properties
falseFilter archived campaigns
Return only campaigns, excluding folders
falseWhen true, returns campaign statistics including delivered count, opened count, clicked count and revenue if available for the campaign. When false, returns campaign data without statistics.
trueSuccess
- application/json
- Schema
- Example (auto)
Schema
The list of campaigns
The total number of campaigns
Trace Id
{
"schedules": [
{
"name": "Untitled new campaign",
"repeatAfter": "string",
"id": "string",
"parentId": "string",
"childCount": 0,
"campaignType": "string",
"bulkActionVersion": "string",
"_id": "string",
"status": "string",
"sendDays": [
"string"
],
"deleted": true,
"migrated": true,
"archived": true,
"hasTracking": true,
"isPlainText": true,
"hasUtmTracking": true,
"enableResendToUnopened": true,
"locationId": "string",
"templateId": "string",
"templateType": "string",
"createdAt": "string",
"updatedAt": "string",
"__v": 0,
"documentId": "string",
"downloadUrl": "string",
"templateDataDownloadUrl": "string",
"child": [
"string"
]
}
],
"total": [
"string"
],
"traceId": "string"
}