Skip to main content

List selectable values for a condition field

GET 

/v1/public/segments/filters/:field/values

Returns the dictionary of selectable values for condition fields with a predefined value list. Currently the only such field is emailProvider — mail providers (Gmail, Mail.ru, Yandex, etc.) localized by the account locale, plus the special entry "Others" (id = -1, slug others) that matches every provider outside the top list, including unknown domains. To filter contacts by mail provider, create or update a segment condition with field = emailProvider, operator = sentTo and value set to the selected value ids joined by commas (e.g. 1,3,-1). Always take the ids from this endpoint — they must not be guessed.

Request​

Responses​

List of selectable values for the field, in display order.