---
title: "List Campaigns"
method: GET
path: "/v2/campaigns"
---

# List Campaigns

`GET /v2/campaigns`

## Request

- Base URL: `https://pub-api.conversion.ai/api`
- URL: `https://pub-api.conversion.ai/api/v2/campaigns`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`

List your custom campaigns with their type, `sfdcCampaignId`, and member count. Only custom campaigns are exposed by this API; webinars and blasts are not returned. Archived campaigns are excluded. Member statuses are not included here; fetch them as `type.statuses` from `GET /v2/campaigns/{campaignId}`.

Results are paginated with an opaque cursor returned as `pagination.nextCursor`. Pass it back as the `cursor` query parameter to fetch the next page.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Campaigns retrieved successfully.

- object
  - `data` object
    - `campaigns` object[], required: The current page of campaigns.
      - `id` string, uuid, required: The Conversion campaign id.
      - `name` string, required: The campaign's display name, unique within the workspace.
      - `type` object, required: The campaign type the campaign belongs to. Types are defined in the dashboard.
        - `id` string, uuid, required: The campaign type id.
        - `name` string, required: The type's display name, as configured in the dashboard.
        - `systemType` 'CUSTOM', required: The system classification of the campaign type. Currently `CUSTOM`.
      - `sfdcCampaignId` string, nullable, required: The id of the Salesforce campaign this campaign is linked to, or `null` if the campaign is not linked to Salesforce.
      - `memberCount` integer, required: The total number of members in the campaign.
      - `createdAt` string, date-time, required: When the campaign was created.
      - `updatedAt` string, date-time, required: When the campaign was last updated.
  - `pagination` object
    - `nextCursor` string, nullable, required: Opaque cursor for the next page, or `null` when there are no more results. This is the single source of truth for whether more results exist.

## Other responses

- `400`: The request was malformed or contained invalid data.
- `401`: Authentication failed.
- `500`: An unexpected server error occurred.

---

[API](https://skmtc.dev/conversion/apis/conversion-api.md) - [All operations](https://skmtc.dev/conversion/apis/conversion-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conversion/apis/conversion-api/revisions/8422f815402a?raw)
