Campaigns
Edit a campaign
Only supplied fields change. API keys must send the current expectedPolicyVersion (a stale one returns 409 POLICY_CHANGED). A key edit returns the campaign to draft for review (unless it is paused or completed); keys cannot set status:"active". While a playbook's auto-approve is on, raising monthlyBudgetCents needs a signed-in owner or admin. One exception: a body with only recipients that keeps every current person and appends new ones adds them to an active playbook without a version and keeps it on, like POST /playbooks/{id}/people.
patch/campaigns/{id}
Request
- Base URL: https://gtmswag.com/api/v1
- URL: https://gtmswag.com/api/v1/campaigns/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Campaign or playbook ID (cmp_).
Request body
Response
Success: {"data": Campaign}.
Changes
No recorded changes to this operation across all 1 revision of this API.