curl --request GET \
--url https://services.leadconnectorhq.com/emails/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"schedules": [
{
"name": "Untitled new campaign",
"repeatAfter": "<string>",
"id": "<string>",
"parentId": "<string>",
"childCount": 123,
"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": 123,
"documentId": "<string>",
"downloadUrl": "<string>",
"templateDataDownloadUrl": "<string>",
"child": [
"<string>"
]
}
],
"total": [
"<string>"
],
"traceId": "<string>"
}Get Campaigns
curl --request GET \
--url https://services.leadconnectorhq.com/emails/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"schedules": [
{
"name": "Untitled new campaign",
"repeatAfter": "<string>",
"id": "<string>",
"parentId": "<string>",
"childCount": 123,
"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": 123,
"documentId": "<string>",
"downloadUrl": "<string>",
"templateDataDownloadUrl": "<string>",
"child": [
"<string>"
]
}
],
"total": [
"<string>"
],
"traceId": "<string>"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 "2021-07-28"
Location ID to fetch campaigns from
"ohjiah0wdg3bzmzacvd6"
Maximum number of campaigns to return. Defaults to 10, maximum is 100
"7"
Number of campaigns to skip for pagination
"0"
Filter by schedule status
active, pause, complete, cancelled, retry, draft, resend-scheduled, processing Filter by email delivery status
all, not-started, paused, cancelled, processing, resumed, next-drip, complete, success, error, waiting, queued, queueing, reading, scheduled Filter campaigns by name
"Black Friday Campaign"
Filter campaigns by parent folder ID
"folder123"
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
"false"
Filter archived campaigns
"false"
Return only campaigns, excluding folders
"false"
When 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.
"true"
Was this page helpful?