Skip to content

Instantly share code, notes, and snippets.

@acapps
Last active August 29, 2015 14:01
Show Gist options
  • Save acapps/668f24107a0bfc6092bc to your computer and use it in GitHub Desktop.
Save acapps/668f24107a0bfc6092bc to your computer and use it in GitHub Desktop.
Example cURL statement for retrieving contact count for Zipwhip account using contact/list.
$curl http://api.zipwhip.com/contact/list
-d session=[sessionKey]
–d pageSize=1
Where pages is the total number of contacts associated with the account.
In the example below the account has 89 contacts.
Response:
{
"total":1,
"response":[
{
...
}],
"page":1,
"pages":89,
"success":true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment