folkwaysDocs
Platform API

Workspaces

GET /organizations/{workspaceId} and its segment list: read a workspace with its subscription and segments.

Get a workspace

HTTP
GET /api/v1/organizations/{workspaceId}
X-API-Key: <key with workspace access>
QueryDefaultMeaning
includeMembersfalseInclude the member list

data is the workspace:

FieldMeaning
id, name, descriptionThe workspace
statusThe workspace's status
createdAtWhen it was created
subscriptionIts subscription, with the plan
segmentsIts segments
membersWith includeMembers=true: each member and their role
JSON
{
  "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

HTTP
GET /api/v1/organizations/{workspaceId}/segments
X-API-Key: <key with workspace access>

data is an array of segments.

On this page