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

getContactCount method

Вы здесь:

Principle of use

Syntax and URL to call the method
https://api.unisender.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.

Оцените, на сколько вам показалась полезной статья «getContactCount method»
(0)