Menu

List the values of an attribute

GET/v1/attributes/{key}/values

Requires an API key with the attributes:read scope. About keys and scopes

The distinct values contacts hold for one attribute key, with how many hold each, for value suggestions in rules; each member of a list counts on its own. The 100 most common only, from the same index as the key list. A masked key returns no values to a member or an embed session. Embed sessions reach this only when minted with includeAttributeValues.

Path parameters

keystringrequired

Query parameters

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–2048 characters

Returns

Returns 200 OK with a list of AttributeValue 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.

valuestring | number | booleanrequired
countintegerrequired

Contacts holding this value.

min 0 · max 9007199254740991