---
title: "Archive a campaign"
method: POST
path: "/campaigns/{campaign_id}/archive"
tags: ["Campaigns"]
---

# Archive a campaign

`POST /campaigns/{campaign_id}/archive`

## Request

- Base URL: `https://api.reacherapp.com/public/v1`
- URL: `https://api.reacherapp.com/public/v1/campaigns/{campaign_id}/archive`
- Auth: API key in header `x-api-key` and API key in header `x-shop-id`

Sets `status='archived'` — preserves the row in list/detail views but marks it as no longer active.

## Path parameters

- `campaign_id` integer, required

## Headers

- `Idempotency-Key` string, nullable
- `X-Dry-Run` string, nullable

## Response `200`

Successful Response

- CampaignArchivedResponse: 200 response for ``POST /campaigns/{id}/archive``.
  - `campaign_id` integer, required
  - `status` string

## Other responses

- `422`: Validation Error

## Changes

> 76 revisions in range; 1 not diffed.

- **2026-09-19** `291230805105`: 1 info
  - api operation id `archive_campaign_campaigns__campaign_id__archive_post` removed and replaced with `campaign_archive`

[Operation history](https://skmtc.dev/reacherapp/apis/reacher-data-api/changes/campaigns/:campaign_id/archive/post.md)

---

[API](https://skmtc.dev/reacherapp/apis/reacher-data-api.md) - [All operations](https://skmtc.dev/reacherapp/apis/reacher-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reacherapp/apis/reacher-data-api/revisions/63ce74b30b5a?raw)
