isContactInLists method

Method for checking whether the contact is in the specified user lists.

Principle of use

Syntax and URL to call the method,2&condition=and;
api_key * API access key.
email * Valid Email Address.
list_ids * A list of id lists separated by commas (e.g. "1,2,3,4").
condition * Verification Condition. It takes 2 values: "or" and "and". If "or", the method returns true if the contact is in at least one of the specified lists in list_ids, if "and" - if the contact is in all specified lists
Return value
Returns true if the contact is in the list (s) and the condition is satisfied, false - if not.

Example of the return value:

    "result": false

Did we answer to your question?