Skip to main content
The workspace is the top-level tenant in Salty. Every record (people, companies, deals, …) and every API key belongs to exactly one workspace.

Endpoints

GET /workspace

GET /workspace/usage

PATCH /workspace

Editable fields: name, hard_cap_api_calls (set to null to remove the cap).
Things you can’t change via API: slug, plan, dodo_customer_id. Plan changes go through the billing UI.

GET /workspace/export

Download everything in your workspace as a single JSON document — people, companies, deals, notes, tasks, activities, custom objects + their records, and your schema. No lock-in; available on demand.
The document includes a counts summary and one array per object type (only active records — trashed records are excluded).

POST /workspace/delete

Permanently delete the workspace. Admin only — it must be called with a logged-in user’s session token (JWT), not an API key. Pass the workspace slug as confirm. It immediately revokes every API key and OAuth token; the data is purged after the trash window.
Returns 204. Called with an API key it returns 401 jwt_required; a confirm that doesn’t match the slug returns 400. Most people do this from the dashboard Account page instead.