Contact attributes are distributed into categories. Query the dataSetAttributeCategories
object to get the list of all available attribute categories within your audience.
query {
dataSetAttributeCategories {
nodes {
name
icon
}
}
}
{
"data": {
"datasetAttributeCategories": {
"nodes": [
{
"name": "Contact information",
"icon": null
},
{
"name": "Location",
"icon": null
},
{
"name": "Demographic",
"icon": null
}
]
}
}
}
Fields
The query returns the nodes
field with some nested fields
Nested field | Values | Required? | Definition |
---|---|---|---|
name | String | Required | The name of a category |
icon | Optional | The icon assigned to the category |