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