---
title: "Publish a campaign"
method: POST
path: "/api/v1/campaigns/{id}/publish"
tags: ["Campaigns"]
---

# Publish a campaign

`POST /api/v1/campaigns/{id}/publish`

## Request

- Base URL: `https://app.convertflow.co`
- URL: `https://app.convertflow.co/api/v1/campaigns/{id}/publish`
- Auth: HTTP bearer

Queues a rebuild of the campaign script on the CDN from its current state (traffic split, archived flag, format). It ships every variant as currently saved, drafts included — to publish one variant's edits use POST /variants/{id}/publish instead. Returns 202 with a queued acknowledgement. Requires campaigns:publish.

## Response `202`

publish queued

- object
  - `status` string
  - `code` integer
  - `message` string

---

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