# Get organizations for a user **GET /api/users/{userId}/organizations** Get all organizations that the user is a member of. In each organization object, the user's roles in that organization are included in the `organizationRoles` array. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **userId** (string) The unique identifier of the user. ## Responses ### 200: An array of organizations that the user is a member of. #### Body Parameters: application/json (array[object]) - **tenantId** (string) - **id** (string) - **name** (string) - **description** (string | null) - **customData** (object) arbitrary - **isMfaRequired** (boolean) - **color** (object) - **branding** (object) - **customCss** (string | null) - **createdAt** (number) - **organizationRoles** (array[object]) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: Not Found [Powered by Bump.sh](https://bump.sh)