# Get single attrribute
You can return details about specific attribute.
The attribute id can be returned by using Get all attributes
endpoint.
GET
/attributes/:id/
Attributes | Type | Required | Description |
---|---|---|---|
id | integer | yes | A unique identifier for the attribute which is given by User.com automatically. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H
"Authorization: Token <your_64_char_api_key>"
"https://<your_app_subdomain>.user.com/api/public/attributes/:id/"
# Response
{
"name": "My Attribute",
"id": 2511,
"content_type": "user",
"value_type": "boolean",
"name_std": "my_attribute"
}