Skip to main content
Version: 2021-07-28

Get Campaigns

GET 

/emails/schedule

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Get Campaigns

Request

Version stringrequired

API Version

Available options2021-07-28
locationId stringrequired

Location ID to fetch campaigns from

limit number

Maximum number of campaigns to return. Defaults to 10, maximum is 100

offset number

Number of campaigns to skip for pagination

status string

Filter by schedule status

Available optionsactivepausecompletecancelledretrydraftresend-scheduledprocessing
emailStatus string

Filter by email delivery status

Available optionsallnot-startedpausedcancelledprocessingresumednext-dripcompletesuccesserrorwaitingqueued
name string

Filter campaigns by name

parentId string

Filter campaigns by parent folder ID

limitedFields boolean

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

Default value:false
archived boolean

Filter archived campaigns

campaignsOnly boolean

Return only campaigns, excluding folders

Default value:false
showStats boolean

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.

Default value:true
application/json

Success

Schema
    schedulesobject[]required

    The list of campaigns

    totalstring[]required

    The total number of campaigns

    traceIdstringrequired

    Trace Id