---
title: "Upsert campaign playbook"
method: PATCH
path: "/v1/campaignPlaybook/upsert"
tags: ["campaignPlaybook"]
---

# Upsert campaign playbook

`PATCH /v1/campaignPlaybook/upsert`

## Request

- Base URL: `https://api.zevari.ai`
- URL: `https://api.zevari.ai/v1/campaignPlaybook/upsert`
- Auth: HTTP bearer

Transport: call this endpoint with HTTP PATCH and a JSON request body. Create or update one shared campaign playbook. Stores only campaign_id, goal, framework, framework_rationale, proof_asset, sender_voice, sequence_notes, cta, and notes. Does not create leads, handoffs, packages, activation, sends, replies, proof assets, metrics, or drafts. The response is limited to campaign_id, goal, framework, framework_rationale, proof_asset, sender_voice, sequence_notes, cta, notes, and summary. This endpoint stores campaign strategy context only; it does not compile packages, create targets, create confirmations, enqueue jobs, schedule touches, or send messages.

## Request body

- object
  - `campaign_id` string, required
  - `goal` string, nullable
  - `framework` 'occams_razor' | 'offer_led_first_message' | 'agitational_bump' | 'softened_breakup_pitch', nullable
  - `framework_rationale` string, nullable
  - `proof_asset` string, nullable
  - `sender_voice` string, nullable
  - `sequence_notes` string, nullable
  - `cta` string, nullable
  - `notes` string, nullable

## Response `200`

Successful Zevari API response.

- ZevariResponseEnvelope
  - `ok` boolean, required: False when the underlying tool reports an error or a partial failure.
  - `method` string, required: Public API method name.
  - `data` unknown, required
  - `request_id` string, required: Request correlation ID. Also returned in X-Zevari-Request-Id.

## Other responses

- `400`: Invalid arguments or method execution error.
- `401`: Missing, invalid, expired, revoked, or unauthorized API key.
- `404`: Unknown or non-public Zevari API method.
- `429`: API key rate limit exceeded.
- `500`: Unhandled server error.

---

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