# GET /api/roles/{id} > Roles - Get Role by ID (Read-Only) Read-only, like every roles endpoint. The response also reports how many active staff users are assigned to the role, which is what an integration needs before anybody edits it in the admin area. The serialised permissions column is only included when include_permissions is set. - **Endpoint:** `GET /api/roles/{id}` - **Group:** Roles - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/RolesController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Role unique ID | | `include_permissions` | String | no | Send 1, true, yes or on to include the serialised permissions column | ## Request example ```bash curl -X GET "https://yoursite.com/index.php/api/roles/123" \ -H "authtoken: YOUR_API_TOKEN" ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "id": "1", "title": "Project manager", "deleted": "0", "assigned_users": 4 } ``` ### Error - Error-Response: ```json HTTP/1.1 404 Not Found { "status": false, "messages": { "error": "No data were found" } } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/roles/show-role/