Skip to main content
This documents the v1 product. It is kept for integrations already running on it. If you are building something new, start with the Quickstart.
A workspace holds assistants and telephony numbers and belongs to an organization. The workspace _id you get here is the workspace header value for every workspace-scoped call afterwards.

Onboard a custom workspace

The recommended path for every non-Shopify integration.
200 OK
Keep data._id — it is your workspace header from now on.
Auto-assigned numberIn production a default telephony number is assigned to every new workspace. List it through the Telephony APIs before buying another.

Onboard a Shopify store

Shopify merchants only — creates the workspace and configures billing in one step. Returns 201 with workspace, status and a billing block:
201 Created
negativeCreditAllowance is an overdraft: calls keep running that far past zero before the workspace is suspended.

Archive

Requires an admin or organization_admin role.
200 OK
Archiving cascades: archiving an organization archives its workspaces, assistants and campaigns; archiving a workspace archives its assistants and campaigns. Archived assistants cannot be updated (400) and cannot place calls.

Unarchive

Same body. Unarchiving also cascades. A workspace cannot be unarchived while its parent organization is still archived:
400 Bad Request
Unarchive the organization first.