# Get single attrribute

You can return details about specific attribute.

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 "https://<your_app_subdomain>.user.com/api/public/attributes/:id/" \
  -H "Authorization: Token <your_64_char_api_key>" \
  -H "Accept: */*; version=2"

# Response

{
  "name": "My Attribute",
  "id": 2511,
  "content_type": "user",
  "value_type": "boolean",
  "name_std": "my_attribute"
}