Skip to the documentation
API

Read the workspace the app opens

The workspace the app opens for the person when they sign in.

GET/workspaces/active

Runs the real call on your workspace.

GET /workspaces/active

The workspace the app opens for the person when they sign in.

Example

Needs account:read. It is not the workspace the key or the app acts on, which never changes.

curl
curl "$API/workspaces/active" -H "$AUTH"
Response
{  "object": "workspace",  "id": "10417196-e324-4283-af98-66ec62167c47",  "name": "Acme",  "slug": "acme",  "email": "[email protected]",  "isOwner": true,  "createdAt": "2026-08-01T10:00:00.000Z"}

isOwner is false when the person joined the workspace as a member.

Reference