workspaces

List My Workspaces

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

Response

Successful Response

idstring uuid required
namestring required
kindstring required
is_archivedboolean required
default_currencystring required
localestring nullable
iconstring nullable
colorstring nullable
created_atstring date-time required
created_by_user_idstring uuid nullable
managed_by_user_idstring uuid nullable
rolestring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.