Contacts
GET Contact Consent Counts
Changed onUse to get the total contacts count for the account and the total contact-consent counts for each consent state. Optionally, to include the total number of contacts that subscribed within the last 30 days in the results, use new_subscribers in the include query parameter. To optimize open rates, reduce spam reports, and help grow your business, you must value your contact's consent to receive or to not receive your emails.
get/contacts/counts
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/contacts/counts
- Auth
- OAuth 2Implicit: https://authz.constantcontact.com/oauth2/default/v1/authorizeScopes: contact_data
- or OAuth 2Authorization code: https://authz.constantcontact.com/oauth2/default/v1/authorizeToken URL: https://authz.constantcontact.com/oauth2/default/v1/token scopes: contact_data
Query parameters
include'new_subscriber'
Use to return the total number of contacts that subscribed within the last 30 days in the results.
Response
Request successful
Example response
{
"total": 72,
"explicit": 10,
"implicit": 20,
"pending": 30,
"unsubscribed": 12,
"new_subscriber": 1
}Changes
- info
the endpoint scheme security
api_keywas removed from the API
- info
- info
endpoint added
- info