---
title: "Get all campaigns"
method: GET
path: "/{sub_domain}/api/campaigns"
tags: ["Campaigns"]
---

# Get all campaigns

`GET /{sub_domain}/api/campaigns`

## Request

- Base URL: `https://api.commpeak.com/dialer`
- URL: `https://api.commpeak.com/dialer/{sub_domain}/api/campaigns`
- Auth: API key in header `Authorization`

Retrieve the campaigns defined in your account.

**When to use.** List and audit your campaigns, or look up a campaign's `id` and settings before updating or cloning it. To fetch a single campaign, use `GET /campaigns/{id}`.

**Filtering and shape.** Filter, order, limit and select fields by any response field. See [Core API Concepts](https://td.commpeak.link/Readme-dialer-api-docs). The response is wrapped as `{ "campaigns": [ ... ], "total_campaigns": N }`.

**Example.** `GET /api/campaigns/limit/50;0`

## Path parameters

- `sub_domain` string, required: Dialer Name (subdomain)

## Response `200`

Successful Response

- CampaignResponse
  - `campaigns` CampaignResult[], required
    - `id` integer, nullable, required: Campaign ID.
    - `name` string, nullable, required: Campaign name.
    - `description` string, nullable, required: Campaign description.
  - `total_campaigns` integer, nullable: Number of campaigns in the response.

## Other responses

- `404`: Not Found
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-dialer-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/revisions/18c5edc07544?raw)
