Take your business records with you.
Save one workspace and environment to a private JSONL file, with IDs that preserve relationships between records.
On this page
Choose the scope and permissions
Use the dashboard’s selected workspace and test or live environment, or a secret integration key with both Read and Manage customers and webhooks. Privacy permission is unnecessary. Public page IDs, booking links and publishable keys cannot export business data. Every page rechecks current access.
Repeat the export for each workspace and environment you need. The account’s separate subject export is not this business export.
Download privately
In dashboard Maintenance, use Download business data for the selected scope. The browser assembles the download locally; the server creates no archive, job or share link. Use a trusted device and protect its downloads. For a backend, install TypeScript & CLI 0.4.0, save a downloaded secret key in an owned 0700 directory with file mode 0600, and configure it without putting the secret in an argument.
export AVAILKIT_BASE_URL=https://api.availkit.com
export AVAILKIT_WORKSPACE_ID=YOUR_WORKSPACE_ID
export AVAILKIT_CREDENTIAL_FILE="$PWD/private/availkit-test.key"
npx --no-install availkit business-export private/business-test.jsonl
# Optional bounded read admission:
npx --no-install availkit business-export private/business-test-2.jsonl --max-calls 2048 --work-seconds 30Choose a new output path every time. The CLI exclusively reserves a regular 0600 file before reading, refuses existing files and symlinks, and prints fixed status and numeric counts. Success requires its zero exit status after write, sync and close. Keep the entire file private: contacts, booking times and webhook URL paths may contain personal data or application secrets.
What is included
| Section | Retained records |
|---|---|
| configuration | Booking-page settings, current usage and limits, event watermarks. |
| resources | Names, timezones, capacity, archived state and weekly hours. |
| offerings | Names, resource IDs, duration and archived state. |
| customers | Current names, email, phone, archived state and erased tombstones. |
| bookings | Offering/resource/customer IDs, current start/end and status. |
| events | Retained event IDs/sequences, booking IDs, type and occurrence time. |
| webhooks | Subscription IDs, canonical destination URLs and enabled state. |
| deliveries | Delivery/subscription/event IDs and bounded outcome summaries. |
| usage-history | Retained monthly committed booking-create counts. |
JSONL lines have {type,data}. A header identifies schema 1 and the server-proven workspace/environment. Page lines record section, observation time and cursors; an end line records traversal counts. API keys, signing secrets, guest capabilities, account/session/passkey/recovery material, replay receipts and raw encrypted mail/delivery payloads are excluded. This is not an import or server backup format.
Read a bounded current view
Each API page uses one PostgreSQL repeatable-read transaction; pages are separate observations. Concurrent changes, erasures or pruning can change or omit records and links between pages. There is no point-in-time snapshot or write freeze. Arrange a quiet period if you need an easier-to-reconcile export.
Each page contains at most 100 records. Default admission is 30 seconds and 2048 calls; options allow 1–60 work seconds and 1–2048 calls. The helper caps the complete output at 50,000 lines and 32 MiB, with no automatic retry or resume. These limits bound admitted reads and retained output, not every filesystem or transport scheduling delay.
Keep failures and retention explicit
Archived catalog and contacts remain included. Erased contacts contain their retained public ID, “Erased customer”, null email/phone and archived/erased states. Earlier contact revisions are not collected. Already pruned records are absent; event watermarks describe the pruned prefix. Monthly creates are not refunded by cancellation or pruning.
Access, cursor, deadline, bound or disk failure ends the export. Any partial file stays private and incomplete, even if it contains an end marker. A later deliberate attempt needs a new path. The service cannot recall or erase a copy you downloaded. Read retention and backup limits. The old export and customers-export commands retain their narrower formats.