Creates a new partner-managed workspace and automatically provisions an Owner user. The workspace_id identifier is derived from the requested display_name (lowercase, alphanumeric and dashes, up to 30 characters). The workspace is created on the calling partner’s plan and linked to that partner for ownership and billing-eligibility checks. An Owner user is created with a non-login, system-managed email of the form <user_id>-<workspace-id>@partners.timelines.ai and added to the default workspace group. Seats are allocated according to seats_purchased (1-99); the Owner consumes one seat and the remaining seats become available for additional agents. On success the response returns workspace metadata, seat counters and the newly created owner_user_id. Conflicts on identifier generation (duplicate workspace_id) are reported with a 409 WorkspaceCreationFailed error.
JWT bearer authentication. The token payload must include partner_id, nbf (not-before) and exp (expiry) claims. All Partner API requests must be authenticated with Authorization: Bearer
The unique identifier for the partner.
Workspace creation request payload
Request payload for creating a new partner-managed workspace. Partners supply a human-friendly display_name and the initial number of purchased seats. The server derives the internal workspace_id identifier from display_name and provisions the workspace on the partner’s plan with the requested seats.
Workspace created
Representation of a partner-managed workspace returned after creation or update. It includes the stable workspace_id, display_name, linked plan_id, seat allocation and utilization, audit timestamps, the default group identifier, the automatically generated Owner user, and any suspended members that resulted from a seat downgrade.
Unique identifier for the workspace
"ws_1234567890abcdef"
Workspace display name
"my-first-workspace"
Workspace plan type
1
Total number of seats in the workspace
3
Number of available seats in the workspace
2
Timestamp of the last update
"2024-01-01T12:00:00Z"
User ID of the workspace owner
42
Group ID associated with the workspace
7
Timestamp of workspace creation
"2024-01-01T10:00:00Z"
array of suspended user IDs