Skip to main content
POST /api/v1/exports/account-data Requires exports.write permission. Produces a snapshot of all organization-scoped data, excluding secrets such as API key values and password hashes. No request body is required.

Response

export
object
required
The created export job.

Errors

StatusWhen
401Missing or invalid Bearer token
403Caller lacks exports.write permission

Example

curl -X POST http://localhost:8080/api/v1/exports/account-data \
  -H "Authorization: Bearer <token>"
{
  "export": {
    "id": "ex2a2b3c-d5e6-7890-abcd-ef1234567890",
    "organization_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "export_type": "account_data",
    "status": "completed",
    "storage_path": "exports/a1b2c3d4/account-data-2026-03-21.json",
    "requested_by": "u1a2b3c4-d5e6-7890-abcd-ef1234567890",
    "completed_at": "2026-03-21T10:01:00Z",
    "created_at": "2026-03-21T10:00:55Z",
    "updated_at": "2026-03-21T10:01:00Z"
  }
}

Build docs developers (and LLMs) love