# Get roles for a user in an organization **GET /api/organizations/{id}/users/{userId}/roles** Get roles assigned to a user in the specified organization with pagination. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the organization. - **userId** (string) The unique identifier of the user. ### Query parameters - **page** (integer) Page number (starts from 1). - **page_size** (integer) Entries per page. ## Responses ### 200 A list of roles assigned to the user. #### Body: application/json (array[object]) - **tenantId** (string) - **id** (string) - **name** (string) - **description** (string | null) - **type** (string) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 422 The user is not a member of the organization. [Powered by Bump.sh](https://bump.sh)