Attributes
List contact attribute keys
GET/v1/attributes
Requires an API key with the attributes:read scope. About keys and scopes
Every attribute key your contacts carry, with its inferred type and how many contacts have it: the pickers for segment rules and merge tags. Read from an index up to five minutes old (a contact import refreshes it at once). A list key takes contains, notContains, exists and notExists in rules. masked keys are listed, but their values are hidden from members and embed sessions.
Query parameters
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
Returns
Returns 200 OK with a list of Attribute objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
keystringrequiredThe attribute key, as written on contacts.
typestringrequiredInferred from the values held.
list: every value is an array (["running", "yoga"], a form's checkboxes);mixed: more than one type.one of
string,number,boolean,date,list,mixedcontactCountintegerrequiredContacts that have this key.
min 0 · max 9007199254740991
maskedbooleanrequiredMasked in workspace settings: members see the key, not its values.