build runtime filter. 🔐
POST/v3/filter/runtime
returns a list of receivers, filtered by an on-the-fly filter
Example Post Data:
{
"groups": [1,2,3],
"operator": "AND",
"rules": [
{
"field":"email",
"logic":"contains",
"condition":"@"
}
],
"orderby": "activated desc",
"pagesize": 250,
"page": 0
}
Possible Operators
- OR
- AND (default)
Available Logics:
- eq - equals
- neq - not equals
- sm - smaller
- bg - bigger
- isnull - is empty
- notisnull - not empty
- contains - contains given string
- begins - begins with
- ends - ends with
- ismale - given field is male
- isfemale - given field is female
general available fields:
- email - (email of the receiver)
- source - (import source of the email)
- imported - (timestamp of receiver import)
- registered - (timestamp of receiver registration)
- activated - (timestamp of receiver activation)
- deactivated - (timestamp of receiver deactivation)
- bounced - (timestamp of receiver bounce)
- points - (points of the receiver)
- last_location - (last location of receiver)
- last_client - (last mail client used by receiver)
- crevent_mail_send (logic: eq, condition: mailing_id -> receiver of certain mailing)
- crevent_mail_open (logic: eq, condition: mailing_id -> opened mail of certain mailing)
- crevent_mail_click (logic: eq, condition: mailing_id -> clicked on mail of certain mailing)
- crevent_mail_bounce (logic: eq, condition: mailing_id -> bounced mail of certain mailing)
- all attributes (if global and group attributes have the same name, group ones will be favoured)
Request
Responses
- 200
Success