Skip to content

Export your account

You can download your account as one JSON file, to keep a backup or to hand your data to another tool. Only the account owner can export it.

  1. Open Settings, from the account menu at the bottom of the sidebar.
  2. In Export account data, click Download export.
  3. Keep the page open. Your browser saves klozeo-account.json once the whole file has arrived.

A large account can take several minutes. If the export fails, is interrupted or takes too long to start, the dashboard tells you and saves no file: run it again.

Editors and viewers see the card but not the button. A member can still export their own account: in the Workspace selector, choose My workspace (your personal workspace), then open Settings again.

GET /account/export returns the same file. It streams straight to disk, which suits the largest accounts and scheduled backups:

Terminal window
curl -fo klozeo-account.json \
"https://api.klozeo.com/api/v1/account/export" \
-H "X-API-Key: sk_live_your_key"

-f makes curl fail instead of writing an error message under your file name. Check curl’s exit code before you use the file: a transfer cut partway returns a non-zero code and leaves an incomplete file.

See the Account API reference for details.

  • exported_at: when the export started, in Unix seconds.
  • scoring_rules: your scoring rules.
  • webhooks: each webhook’s URL, events and whether it is active. Signing secrets are never exported.
  • members: one row per member and per invitation, with its email, role (admin, editor or viewer) and status (active, pending or revoked). Revoked invitations are in the file too, even though the Team page no longer shows them.
  • leads: every lead with its custom attributes and notes, as in the JSON lead export.
  • lead_changes: the full history of your current leads, one row per recorded change.
  • signup_first_touch: where you came from on your first visit, as recorded at sign-up: the page that referred you (referrer, its host and path, without a query string), the path of the first page you saw (landing) and the UTM tags (utm_source, utm_medium, utm_campaign, utm_content, utm_term). A field appears only if it was captured. The whole value is null when nothing was recorded, for example if you refused cookies on your first visit, or on an account created before this was captured.

The file holds no plan, billing data, API key, password or webhook signing secret. The members section carries no member ID and no invitation link. The history of leads you have deleted is left out too.

The file is sent as it is produced. If something fails partway, the download is cut off rather than ending in a file that looks complete. From the dashboard, a failed export saves no file at all. From the API, curl stops with a non-zero exit code. A file you received in full is the whole export; if in doubt, export again.