---
title: "Activates the specified campaign."
method: POST
path: "/campaign/{campaignId}/activate"
tags: ["Campaign"]
---

# Activates the specified campaign.

`POST /campaign/{campaignId}/activate`

Only campaigns in the Created, Preview, or Analysis state can be activated; any other
 state returns 400. A program campaign has no top-level routing id and is therefore not
 picked up by the target-group-driven auto-activation, so this endpoint is how it is moved
 into the serving set.

## Path parameters

- `campaignId` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/versions/e42ec51c7b88/schema)
