---
title: "Load Campaigns"
method: GET
path: "/campaigns"
tags: ["Campaigns"]
---

# Load Campaigns

`GET /campaigns`

Returns a list all of your campaigns. Limited to 1000 results. Required Access Level: ViewCampaigns

## Query parameters

- `search` string, string — string
- `offset` integer — integer
- `limit` integer — integer

## Response `200`

OK

- Campaign[]
  - `Content` CampaignTemplate[] — Campaign's email content. Provide multiple items to send an A/X Split Campaign
    - `Poolname` string, string — Name of your custom IP Pool to be used in the sending process
    - `From` string, string, required — Your e-mail with an optional name (e.g.: John Doe <email@domain.com>)
    - `ReplyTo` string, string — To what address should the recipients reply to (e.g. John Doe <email@domain.com>)
    - `Subject` string, string — Default subject of email.
    - `TemplateName` string, string — Name of template.
    - `AttachFiles` string[] — Names of previously uploaded files that should be sent as downloadable attachments
    - `Utm` Utm — Utm marketing data to be attached to every link in this e-mail.
      - `Source` string, string — utmsource value
      - `Medium` string, string — utmmedium value
      - `Campaign` string, string — utmcampaign value
      - `Content` string, string — utmcontent value
  - `Name` string, string, required — Campaign name
  - `Status` 'Deleted' | 'Active' | 'Processing' | 'Sending' | 'Completed' | 'Paused' | 'Cancelled' | 'Draft'
  - `Recipients` CampaignRecipient, required — A set of lists and segments names to read recipients from
    - `ListNames` string[] — Names of lists from your Account to read recipients from
    - `SegmentNames` string[] — Names of segments from your Account to read recipients from
  - `Options` CampaignOptions — Different send options for a Campaign
    - `DeliveryOptimization` 'None' | 'ToEngagedFirst' | 'ByOpenTime'
    - `TrackOpens` boolean, nullable — Should the opens be tracked? If no value has been provided, Account's default setting will be used.
    - `TrackClicks` boolean, nullable — Should the clicks be tracked? If no value has been provided, Account's default setting will be used.
    - `ScheduleFor` string, date-time, nullable — Date when this Campaign is scheduled to be sent on
    - `TriggerFrequency` number, double — How often (in minutes) to send the campaign
    - `TriggerCount` integer — How many times send the campaign
    - `SplitOptions` SplitOptions — Optional A/X split campaign options
      - `OptimizeFor` 'Opens' | 'Clicks'
      - `OptimizePeriodMinutes` integer — For how long should the results be measured until determining the winner template (content)

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
