workspaces

List My Workspaces

Changed on

Return every workspace the current user can access.

Unions two sets:

  • workspaces where the user has a workspace_members row (role comes from that row)
  • workspaces where workspaces.managed_by_user_id matches the user but they have no membership (role = 'manager')

A user who is both a member AND the external manager is reported with their concrete membership role (not the virtual manager one) since their explicit role is the more specific signal.

get/api/workspaces

Request

Response

Successful Response

idstring uuid required
namestring required
kindstring required
is_archivedboolean required
default_currencystring required
localestring nullable
timezonestring nullable
tax_jurisdictionstring nullable
iconstring nullable
colorstring nullable
created_atstring date-time required
created_by_user_idstring uuid nullable
managed_by_user_idstring uuid nullable
rolestring nullable
enabled_modulesstring[]

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status