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¶ms[tagId]= tagId¶ms[type]=address|phone¶ms[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: |