Skip to contentSkip to navigation

Export Campaign Beta

A campaign's settings, steps and variants as a portable document.

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

Requires an API key with the read scope.

Returns the campaign's settings, sequence steps and A/B variants as a versioned document that Import Campaign reads, in this workspace or another one. The document holds no leads, no sending accounts, no ids, no share link and no statistics. It uses POST because it is an action on the campaign, but it only reads: it needs the read scope and counts against the read rate limit. Like duplicating a campaign, it does not carry the bounce breaker threshold or a step's body type.

Path Parameters

campaign_id string path required

The campaign id. An id from another workspace returns 404.

Errors

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: read
404Campaign not found

Rate Limit

  • 300 requests per minute, shared by every read 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 (read).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?