isContactInLists method
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

isContactInLists method

Вы здесь:

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

Principle of use

Syntax and URL to call the method
https://api.unisender.com/en/api/isContactInLists?api_key=KEY&email=EMAIL&list_ids=1,2&condition=and;
Arguments
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
}
Оцените, на сколько вам показалась полезной статья «isContactInLists method»
(0)