getContactCount method

Principle of use

Syntax and URL to call the method
https://api.selzy.com/en/api/getContactCount?format=json&api_key=KEY&list_id=listId&params[tagId]=
tagId&params[type]=address|phone&params[search]=email/phone substring
Arguments
api_key* API access key.
list_id * id of the list where the search is performed.
params * list of the search parameters (at least one parameter).
Additional parameters:
params[tagId] search by tag with a specific id (can be obtained using the getTags method).
params[type] search for a specific type of contacts, the possible values include «address» or «phone».
params[search] search in an email/phone by substring. Used only with the specified params [type] value.
Return value
JSON array in the following format:

{"result":
    {
        "listId":12345,
        "searchParams":
            {
                "tagIds":"6789",
                "type": "address"
            },
        "count":"500"
     }
}

where:
listId — id of the list requested.
searchParams — list of parameters by which the calculation was made.
count — number of contacts.

Did we answer to your question?

0
0