Skip to contentSkip to navigation

Decide Copy Approval Beta

Approve a campaign's copy as it is now, or ask for changes.

POST /api/v1/campaigns/{campaign_id}/approval

Requires an API key with the write scope.

When an agency turns on copy approval for a client workspace, its campaigns start or resume only once the client has approved the current copy: every step's subject and body and every A/B variant. Start Campaign and Resume Campaign return 409 copy_approval_required until then, and an edit after approval needs approving again. In a workspace without the setting, the state is still kept but nothing waits for it.

Approving records the copy as it is at that moment. Asking for changes needs a note saying what should change. When the approval was requested by someone else, they get an in-app notification of the decision. Writes an audit.copy_approval.approved or audit.copy_approval.changes_requested entry.

Path Parameters

campaign_id string path required

The unique identifier of the campaign.

Body Parameters

decision string body required

approved or changes_requested.

note string body

Up to 2,000 characters. Required when decision is changes_requested.

Response

data object
Approval state
required boolean
Whether this workspace needs the client to approve a campaign's copy before it sends. The agency sets it per client workspace with Rename Agency Client (requireCopyApproval).
status string | null
pending, approved, changes_requested, or null when approval was never asked for.
upToDate boolean
true when the copy was approved and has not changed since. An edit to any step's subject or body, or to an A/B variant, after approval makes it false, and the campaign needs approving again.
decidedBy string | null
Name (or email) of the person who last requested or decided.
decidedAt string | null
ISO 8601 timestamp of that request or decision.
note string | null
The note left with the decision.

Errors

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: write
404Campaign not found
422decision is not approved or changes_requested, note is over 2,000 characters, or changes_requested has no note

Rate Limit

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?