- Create a data attribute
You can create a data attributes for a contact or a company.
Intercom API version.
By default, it's equal to the version set in the app package.
The model that the data attribute belongs to.
The readable description you see in the UI for the attribute.
- The production API serverhttps://api.intercom.io/data_attributes
- The european API serverhttps://api.eu.intercom.io/data_attributes
- The australian API serverhttps://api.au.intercom.io/data_attributes
- list attribute
- other type
- Successful
- Same name already exists
- Invalid name
- Attribute already exists
- Invalid Data Type
- Too few options for list
curl -i -X POST \
https://api.intercom.io/data_attributes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.9' \
-d '{
"name": "Mithril Shirt",
"model": "company",
"data_type": "string"
}'Successful
The unique identifier for the data attribute which is given by Intercom. Only available for custom attributes.
Value is contact for user/lead attributes and company for company attributes.
Full name of the attribute. Should match the name unless it's a nested attribute. We can split full_name on . to access nested user object values.
Readable description of the attribute.
The data type of the attribute.
The time the attribute was created as a UTC Unix timestamp
The time the attribute was last updated as a UTC Unix timestamp
{ "id": 37, "type": "data_attribute", "name": "Mithril Shirt", "full_name": "custom_attributes.Mithril Shirt", "label": "Mithril Shirt", "data_type": "string", "api_writable": true, "ui_writable": false, "messenger_writable": true, "custom": true, "archived": false, "admin_id": "991267545", "created_at": 1717021597, "updated_at": 1717021597, "model": "company" }