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

getTotalContactsCount method

Вы здесь:

The method returns the contacts database size by the user login.

Principle of use

Syntax and URL to call the method
https://api.unisender.com/en/api/getTotalContactsCount?format=json&api_key=KEY&login=UserLogin
Arguments
api_key *API access key.
login*User login in the system.

Examples of the return value

Object with the total field (number of contacts).

1. The request has been completed successfully:

{"result":{"total":3}}

2. The user has not been found:

{"error":"OB13012016 [Can't find user by provided login]"}

3. No login has been specified:

{"error":"OB13012016 [Required argument login can't be empty]"}

4. Access rights are not enough to get information:

{"error":"OB13012016 [You are not allowed to view this information]"}