Podio API Documentation
Contacts: Get contact totals
Returns the total number of contacts for the active user.
Usage
- PHP Client
-
PodioContact.php
PodioContact::get_totals( );
- Ruby Gem
-
profile.rb
Podio::Profile.totals_by_org_and_space
Parameters
- exclude_self
True to exclude self, False to include self.
Default value: true
Response
{
"user": The total number of user contacts, ie. contacts that he user shares spaces with,
{
"orgs": The organizations the user is member of
[
{
"org": The organization for the given count
{
"org_id": The id of the organization,
"name": The name of the organization,
"url": The full URL of the organization
},
"count": The total number of contacts in the organization,
"spaces": The spaces in the organization
[
{
"space": The sapce for the given count
{
"space_id": The id of the space,
"name": The name of the space,
"url": The full URL of the space
},
"count": The total number of contacts in the space
},
... (more spaces)
]
},
... (more organizations)
],
"count": The total number of member contacts
}
}
Sandbox
Try the operation "/contact/totals/"You can simulate the API request by filling out the arguments below, and press the submit button to see the response.
You need to be logged in to Podio to use the Sandbox. Login here