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

# List Campaigns

`GET /v1/campaigns`

List campaigns for a project. Requires API key with campaign:read.

## Query parameters

- `projectId` string, required
- `status` 'draft' | 'pending_review' | 'scheduled' | 'sending' | 'throttled' | 'sent' | 'failed' | 'cancelled'
- `page` integer
- `limit` integer

## Response `200`

List of campaigns

- ApiResponseListCampaigns
  - `success` boolean, required
  - `data` object, nullable
    - `campaigns` Campaign[]
      - `id` string
      - `projectId` string
      - `name` string
      - `conversationId` string
      - `emailId` string, nullable — Generated email ID when the campaign was created from a specific email.
      - `subject` string
      - `preheaderText` string, nullable
      - `from` string, email
      - `fromName` string
      - `replyTo` string, nullable
      - `recipientType` 'audience' | 'tag'
      - `recipientId` string
      - `topicId` string, nullable
      - `estimatedRecipients` integer, nullable
      - `providerType` 'ses' | 'resend' | 'sendgrid' | 'mailgun' | 'migma'
      - `variables` object, nullable
      - `status` 'draft' | 'pending_review' | 'scheduled' | 'sending' | 'throttled' | 'sent' | 'failed' | 'cancelled'
      - `scheduledAt` string, date-time, nullable
      - `scheduledTimezone` string, nullable
      - `batchId` string, nullable
      - `sentAt` string, date-time, nullable
      - `completedAt` string, date-time, nullable
      - `error` string, nullable
      - `triggeredBy` 'manual' | 'api' | 'automation'
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `total` integer
  - `error` string, nullable

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/migma/apis/migma-ai-api-v1.md) · [All operations](https://skmtc.net/migma/apis/migma-ai-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/migma/migma-ai-api-v1/revisions/3f3dba69574b/schema)
