Platform API
Workspaces
GET /organizations/{workspaceId} and its segment list: read a workspace with its subscription and segments.
Get a workspace
GET /api/v1/organizations/{workspaceId}
X-API-Key: <key with workspace access>| Query | Default | Meaning |
|---|---|---|
includeMembers | false | Include the member list |
data is the workspace:
| Field | Meaning |
|---|---|
id, name, description | The workspace |
status | The workspace's status |
createdAt | When it was created |
subscription | Its subscription, with the plan |
segments | Its segments |
members | With includeMembers=true: each member and their role |
{
"status": "SUCCESS",
"data": {
"createdAt": "2026-10-18T14:50:32.169Z",
"id": "6f1c2a0e-0000-4000-8000-0000000000aa",
"name": "Acme",
"segments": [{ "id": "6f1c2a0e-0000-4000-8000-000000000001", "name": "Chat (production)", "environment": "PRODUCTION" }],
"subscription": { "status": "ACTIVE", "plan": { "name": "Starter" } }
},
"meta": { "requestId": "…", "timestamp": "…", "version": "v1" }
}(Shortened; full segment and subscription objects are described on their pages.)
List segments
GET /api/v1/organizations/{workspaceId}/segments
X-API-Key: <key with workspace access>data is an array of segments.