Workspaces

1. List Workspaces

Returns a list of all workspaces.

  • URL: /lighthouse/orgs/{org_id}/businesses/{business_id}/workspaces

  • Method: GET

  • Description: Retrieves a paginated list of workspaces.

Query Params

Name
Type
Required
Description

page

integer

No

Page number (default: 1)

page_size

integer

No

Number of results per page (default: 10, max: 100)

search

string

No

Key used as search filter

context_id

uuid

No

ID of the context to which the workspace belongs

workspace_group_id

uuid

No

ID of the group where the workspace belongs

sort_field

string

No

Field used to sort the results (default: created_at)

sort_order

string

No

Determines the sorting order of the results (default: ASC)

Notes on Parameters

  • page_size: If the value provided is greater than 100, it will automatically be converted to this value (100).

  • sort_field: name or created_at

  • sort_order: ASC or DESC

Example Request

Successful Response (200 OK)

Error Response (400 Bad Request)

Error Response (401 Unauthorized)

Error Response (403 Forbidden)


2. Access Workspace Information

Returns information about a specific workspace.

  • URL: /lighthouse/orgs/{org_id}/businesses/{business_id}/workspaces/{id}

  • Method: GET

  • Description: Returns information about a single workspace.

Query Params

Name
Type
Required
Description

Example Request

Successful Response (200 OK)

Error Response (400 Bad Request)

Error Response (401 Unauthorized)

Error Response (403 Forbidden)

Error Response (404 Not Found)

Last updated