---
title: "/campaigns/{campaign_id}"
method: GET
path: "/projects/{project_id}/campaigns/{campaign_id}"
tags: ["Campaigns"]
---

# /campaigns/{campaign_id}

`GET /projects/{project_id}/campaigns/{campaign_id}`

## Request

- Base URL: `https://api.productbyte.com/v1`
- URL: `https://api.productbyte.com/v1/projects/{project_id}/campaigns/{campaign_id}`
- Auth: HTTP bearer

Returns one campaign.

Requires the `posts:read` scope.

## Path parameters

- `project_id` string, required: The project the campaign belongs to.
- `campaign_id` string, required: The campaign to read.

## Response `200`

The campaign.

- object
  - `id` string, required: Pass this as `campaign_id` when creating a post.
  - `name` string, required: The campaign’s name.
  - `start_date` string, date-time: When the campaign starts, when a start day is set. Normalized to midnight UTC on that day — it is a date the product shows, not a scheduling instruction.
  - `post_count` integer, required: How many posts belong to it.
  - `created_at` string, date-time, required: When the campaign was created.
  - `updated_at` string, date-time, required: When it last changed.

## Other responses

- `401`: Missing, unknown, revoked, or expired key (`API_KEY_UNAUTHORIZED`).
- `403`: The key lacks `posts:read`, or the project is outside its allowlist.
- `404`: No such campaign in this project (`API_CAMPAIGN_NOT_FOUND`).
- `429`: Too many requests for this key (`API_RATE_LIMITED`). Back off and retry; `Retry-After` gives the window length.

## Changes

- **2026-10-20** `e44332d6b9c6`: 1 warning
  - removed the optional property `brief` from the response with the `200` status

[Operation history](https://skmtc.dev/productbyte/apis/productbyte-api/changes/projects/:project_id/campaigns/:campaign_id/get.md)

---

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