> ## Documentation Index > Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt > Use this file to discover all available pages before exploring further. # User Roles > Retrieves a paginated list of user roles for the tenant, optionally filtered by brand name. Use the continuationToken from the previous response to retrieve the next page. **Security** The requesting user must have the following permission to retrieve user roles: - Administration → Users → View User Roles & Permissions ## OpenAPI ````json GET /public/v1/user-management/user-roles { "openapi": "3.0.1", "info": { "title": "R365 Public API", "contact": { "name": "R365 Services Team", "email": "r365@restaurant365.com" }, "version": "1.0" }, "security": [ { "Bearer": [] } ], "paths": { "/public/v1/user-management/user-roles": { "get": { "tags": [ "user-management" ], "summary": "User Roles", "description": "Retrieves a paginated list of user roles for the tenant, optionally filtered by brand name.\r\nUse the continuationToken from the previous response to retrieve the next page.\n\n**Security**\n\nThe requesting user must have the following permission to retrieve user roles:\n\n- Administration → Users → View User Roles & Permissions", "parameters": [ { "$ref": "#/components/parameters/TenantId" }, { "name": "pageSize", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 1, "maximum": 250, "default": 250 }, "description": "Maximum number of top-level objects to return in one page." }, { "name": "Brands", "in": "query", "description": "Brands to filter by (comma-separated)", "required": false, "schema": { "type": "string" } }, { "name": "ContinuationToken", "in": "query", "description": "Pagination token from a previous response. Omit to start from the first page", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "User Roles", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetUserRolesResponse" } } } }, "400": { "description": "Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range." }, "401": { "description": "Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant." }, "403": { "description": "Forbidden — the caller lacks the permission required for this operation." }, "404": { "description": "Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired." }, "409": { "description": "Conflict — the request conflicts with the current state of the resource and cannot be applied." }, "422": { "description": "Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid." }, "429": { "description": "Too Many Requests — the caller has exceeded the rate limit; retry after a short delay." }, "500": { "description": "Internal Server Error — an unexpected error occurred while processing the request." } } } } }, "components": { "parameters": { "TenantId": { "name": "x-r365-context-tenant-id", "in": "header", "required": true, "description": "Identifies the R365 tenant the request applies to. Required on every request.", "schema": { "type": "string" } } }, "schemas": { "GetUserRolesResponse": { "type": "object", "properties": { "entities": { "type": "array", "items": { "$ref": "#/components/schemas/UserRole" } }, "nextPage": { "type": "string", "format": "uri", "nullable": true, "description": "URL to retrieve the next page of results, or null when this is the last page." } } }, "UserRole": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the user role." }, "name": { "type": "string", "description": "Display name of the user role." } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "http", "scheme": "Bearer" } } } } ````