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

# Get specific campaign

`GET /{sub_domain}/api/campaigns/{id}`

## Request

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

Retrieve a single campaign by its numeric `id`.

**When to use.** Drill-down to the full detail of one campaign, for example from a list row, or read its current settings before an update. Returns `404` if the id does not exist or is not visible to your API user.

**Shape.** `{ "campaigns": [ <campaign> ], "total_campaigns": 1 }`, matching the list endpoint's envelope.

## Path parameters

- `id` integer, required: Campaign ID.
- `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)
