The WhatCounts APIs provide an option to use features of the system through a programming interface rather than a visible user interface.
Four different APIs are available to work with the WhatCounts platform. Each API provides a subset of features, some of which overlap. These APIs include:
- FTP API: Allows you to manage contacts and subscriptions in batches, create and delete custom fields for storing contact data, and send one-off messages (as campaigns or not) or launch campaigns (full list or segment) to contacts by uploading a data file via FTP to the system.
- HTTP API: Allows you to use several features through web-based HTTP commands including managing lists, content, contacts, contact data, creating reports, and send one-off messages (as campaigns or not) or launch campaigns (full list or segment).
- Rest API: More info coming soon
- WebServices API: Allows you to use several features through SOAP or XML-RPC commands including managing lists, content, contacts, contact data, creating reports, and send one-off messages (as campaigns or not) or launch campaigns (full list or segment).
The following matrix shows which features are available per API:
|Area||Feature||FTP API||REST API||HTTP API|
|Contact Management||Subscribe to List||x||x||x|
|SmartSubscribe Batch to List||x|
|Unsubscribe from List||x||x|
|Change Contact Email||x||x|
|Show Contact Details||x|
|A/B Testing||Show A/B Definition||x|
|Get A/B Definition||x|
|Report A/B Statistics||x|
|Choose A/B Winner||x|
|Launch A/B Test Campaign||x|
|Send Mail||Send One-Off Message||x||x||x|
|Send Customized One-Off Message||x|
|Show Campaign Statistics||x|
|Report Campaign Clicks||x|
|Report Contact Clicks||x|
|Report Daily Statistics||x|
|Report Browser Info||x|
|Report Bounce Statistics||x|
|Report Tracked Events||x|
|Show User Events||x|
|Report Contact Events||x|
|Show Global Optouts||x|
|Show Hard Bounces||x|
|Show Soft Bounces||x|
|Show Block Bounces||x|