Valyourise Logo

ValYouRise

DevelopmentApi

Get workspace

Returns workspace details, the caller's membership, and effective organization and workspace admin status.

GET
/api/workspaces/{workspaceId}

Returns workspace details, the caller's membership, and effective organization and workspace admin status.

PAT<token>

Personal Access Token

In: header

Path Parameters

workspaceId*string

Response Body

application/json

curl -X GET "https://loading/api/workspaces/string"
{
  "workspace": {
    "$id": "string",
    "organizationId": "string",
    "name": "string",
    "slug": "string",
    "privacyMode": "option_1",
    "createdByUserId": "string",
    "archivedAt": "string"
  },
  "membership": {
    "$id": "string",
    "organizationId": "string",
    "workspaceId": "string",
    "userId": "string",
    "role": "workspace_admin",
    "managerUserId": "string",
    "active": true,
    "invitedViaInviteId": "string"
  },
  "orgRole": "organization_admin",
  "isWorkspaceAdmin": true
}
Empty