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
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
List of selectable values for the field, in display order.
The request is invalid.
A valid Public API token is required.
The endpoint requires a scope that is not granted to the token.
The requested resource was not found.
The field does not provide a predefined list of values.
The current API key exceeded the configured rate limit.
Response Headers
Number of seconds after which the request may be retried safely.
Internal server error.