---
title: "Get ABAC attribute definition by ID"
slug: "get-abac-attribute-definition-by-id"
status: "update"
updated: 2026-09-15T13:59:24Z
published: 2026-09-15T13:59:24Z
canonical: "developer.rocket.chat/get-abac-attribute-definition-by-id"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.
# Get ABAC attribute definition by ID
Get/api/v1/abac/attributes/:_id
- Retrieves a single ABAC attribute definition by ID.
- Returns the attribute key and its allowed values for the definition identified by `_id`.
- Requires the `abac-management` and `manage-abac-admin-room-attributes` permissions.
### Changelog
| Version | Description |
| --- | --- |
| 8.0.0 | Added |
| 8.5.0 | Added the `manage-abac-admin-room-attributes` granular permission requirement. |
Header parametersX-Auth-TokenstringRequired
The `authToken` of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-IdstringRequired
The `userId` of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Responses200
OK
Success
```json
{
"success": true,
"key": "my_department",
"values": [
"eng",
"sales",
"hr",
"it"
]
}
```
object successboolean
keystring
values Array of string string
400
Bad Request
Attribute not found
```json
{
"success": false,
"error": "error-attribute-not-found"
}
```
object successboolean
errorstring
401
Unauthorized
Unauthorized login attempt
```json
{
"success": false,
"error": "error-unauthorized"
}
```
object successboolean
errorstring
403
Forbidden
Missing required ABAC permissions
```json
{
"success": false,
"error": "error-not-authorized"
}
```
object successboolean
errorstring