Docs
Get Organizations
GET /Users/{userId}/organizations
GET
/Users/{userId}/organizationsLists the organizations the user belongs to, with name, brand color and image URL. Use it to let the user pick an organization, whose id the organization-scoped operations then take. Only the caller's own user id is accepted.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| userId | uuid | Required |
Response
Type: GetUserOrganizationsResponse[]
GetUserOrganizationsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| brandColor | string| null | |
| imageUrl | string| null |