Export A–Z report (PDF)

Single-campaign A–Z testing PDF export.

POSThttps://app.boltsequencer.com/api/analytics/export-az

Authentication

Bearer owner API key required. Send:

  • Authorization: Bearer bs_live_…
  • X-Workspace-Id: <workspace-uuid> (workspace you own)

Description

Single-campaign A–Z testing PDF export.

Request body

JSON unless noted.

{ "campaignId": "uuid", "range"?: "7d"|"30d"|"90d"|"365d" }

Response

PDF (application/pdf, Content-Disposition: attachment). 404 if campaign missing.

Errors

  • 400 — validation or business rule failure ({ "error": string }, sometimes issues[])
  • 401 — missing or invalid API key
  • 403 — suspended account, wrong workspace, or insufficient role
  • 404 — resource not found in workspace
  • 429 — rate limit (code: "RATE_LIMIT_EXCEEDED", Retry-After header)
  • 500 — unexpected server error

Example

curl -sS -X POST "https://app.boltsequencer.com/api/analytics/export-az" \
  -H "Authorization: Bearer bs_live_YOUR_KEY" \
  -H "X-Workspace-Id: YOUR_WORKSPACE_UUID"
  -H "Content-Type: application/json" \
  -d '{}'