Docs

Get Organizations

GET /Users/{userId}/organizations

GET/Users/{userId}/organizations

Lists 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

FieldTypeRequiredDescription
userIduuidRequired

Response

Type: GetUserOrganizationsResponse[]

GetUserOrganizationsResponse

FieldTypeDescription
iduuid
namestring| null
brandColorstring| null
imageUrlstring| null