Core resourcesWorkspaces
Open app

Workspaces

Workspaces are the tenants within an organization. Each one holds a single product's data source, the profiles synced from it, and the lifecycle — states, signals and scores — evaluated over those profiles. A user's access to a workspace is governed by their organization role and any workspace-specific overrides.

The workspace object

The workspace object is the shape returned by endpoints in this collection. Its attributes are listed below.

Attributes

createdAttimestamp

Time the workspace was created.

idstring

Unique identifier for the workspace.

namestring

The workspace's display name.

organizationIdstring

Organization that owns this workspace.

slugstring

URL-safe identifier used in dashboard paths. Unique within the organization.

timezonestring

IANA timezone the workspace's calendar days are measured in. Null means UTC.

updatedAttimestamp

Time the workspace was last updated.

weekStartsOninteger

Day the workspace's week starts on, 0 (Sunday) through 6 (Saturday). Null means Monday.

Example response
{  "createdAt": "2026-01-01T00:00:00.000Z",  "id": "wsp_01HJZQK7XJ8R9YGEWABCDEFGHJK",  "name": "Acme Coffee",  "organizationId": "org_01HJZQK7XJ8R9YGEWABCDEFGHJK",  "slug": "acme-coffee",  "timezone": "America/New_York",  "updatedAt": "2026-01-01T00:00:00.000Z",  "weekStartsOn": 0}

List all workspaces

Returns every workspace the authenticated user belongs to across all of their organizations. Bounded today — nextPageUrl and previousPageUrl are always null — but the standard limit / page parameters are accepted so the contract stays stable if the result set ever grows. See Pagination. Requires a personal access token — API keys are bound to one workspace and cannot list cross-workspace.

Path & query parameters

limitinteger

Maximum number of items to return per page. Defaults to 20, capped at 100.

1 ≤ value ≤ 100
pagestring

Opaque pagination token. Pass the value returned in nextPageUrl / previousPageUrl rather than constructing one — the encoding is internal and may change.

curl -X GET "https://api.uptend.io/v1/workspaces"
Response200
{
  "data": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "id": "wsp_01HJZQK7XJ8R9YGEWABCDEFGHJK",
      "name": "Acme Coffee",
      "organizationId": "org_01HJZQK7XJ8R9YGEWABCDEFGHJK",
      "slug": "acme-coffee",
      "timezone": "America/New_York",
      "updatedAt": "2019-08-24T14:15:22Z",
      "weekStartsOn": 0
    }
  ],
  "nextPageUrl": "http://example.com",
  "previousPageUrl": "http://example.com"
}

Retrieve a workspace

Returns a workspace by id.

Path & query parameters

workspaceIdstringRequired

The id of the workspace to operate on.

curl -X GET "https://api.uptend.io/v1/workspaces/wsp_01hh9zzzzzzzzzzzzzzzzzzzzz"
Response200
{
  "workspace": {
    "createdAt": "2019-08-24T14:15:22Z",
    "id": "wsp_01HJZQK7XJ8R9YGEWABCDEFGHJK",
    "name": "Acme Coffee",
    "organizationId": "org_01HJZQK7XJ8R9YGEWABCDEFGHJK",
    "slug": "acme-coffee",
    "timezone": "America/New_York",
    "updatedAt": "2019-08-24T14:15:22Z",
    "weekStartsOn": 0
  }
}

Update a workspace

Updates a workspace's name, slug, or calendar settings.

Path & query parameters

workspaceIdstringRequired

The id of the workspace to operate on.

Body parameters

namestring

The workspace's display name.

1 ≤ length ≤ 120
slugstring

URL-safe identifier used in dashboard paths. Must be unique within the organization.

1 ≤ length ≤ 120
timezonestring

IANA timezone the workspace's calendar days are measured in. Send null to reset to UTC.

1 ≤ length ≤ 64
weekStartsOninteger

Day the workspace's week starts on, 0 (Sunday) through 6 (Saturday). Send null to reset to Monday.

0 ≤ value ≤ 6
curl -X PATCH "https://api.uptend.io/v1/workspaces/wsp_01hh9zzzzzzzzzzzzzzzzzzzzz" \  -H "Content-Type: application/json" \  -d '{}'
Response200
{
  "workspace": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "timezone": "string",
    "weekStartsOn": 0
  }
}

On this page