Skip to main content
The Workspaces API lets you programmatically provision and manage client workspaces in your reseller account. Use it to automate onboarding new clients without logging into the dashboard.

GET /workspaces

List all client workspaces in your reseller account. Supports filtering by status and pagination.

Query Parameters

string
Filter workspaces by their current status. Accepted values: active, trial, suspended, archived.
integer
Page number to retrieve. Defaults to 1.
integer
Number of results per page. Defaults to 20. Maximum is 100.

Request

List workspaces

Response


POST /workspaces

Create a new client workspace under your reseller account. Optionally assign a plan and send an invitation email to the primary contact.

Body Parameters

string
required
The name of the workspace or client business.
string
required
The primary contact email address. This person receives the workspace invitation email.
string
The ID of the plan to assign to this workspace immediately. If omitted, the workspace is created without a plan.
boolean
Whether to send an invitation email to contact_email. Defaults to true.

Request

Create a workspace

Response


GET /workspaces/

Retrieve a single workspace by its ID, including extended usage statistics.

Path Parameters

string
required
The unique ID of the workspace to retrieve (e.g. ws_01hx3g5r8f0q2k7d).

Request

Get a workspace

Response


PATCH /workspaces/

Update a workspace’s name or status. Only the fields you provide are changed.

Path Parameters

string
required
The unique ID of the workspace to update.

Body Parameters

string
A new display name for the workspace.
string
Update the workspace status. Accepted values: active, suspended.

Request

Update a workspace

Response


Workspace deletion is not available via the API. Archive or suspend workspaces instead. For permanent deletion, contact support.