The purpose of the sailthru API is to allow you to take full advantage of all the features of your Sailthru service as efficiently as possible.
Step 1 -
Download one of our pre-built libraries for your chosen programming language - review the list at
client libraries.
Step 2 -
Install and configure your chosen pre-built library - for details see
"Getting Started".
-
With this automation in place, you and your colleagues will spend less time in the Sailthru web interface and the experience you will provide your users will be more seamless.
The Sailthru API is a simple REST-based service. Here are some of the typical use cases for API usage:
The API has several calls across several different functional areas. Here is a quick explanation of the various API features.
Each item corresponds to a separate API call type - you should refer to the specifics for each client implementation for the exact method/function names needed to use each call.
email - to access and update the subscription status of individual email addresses / subscribers
-
-
-
-
stats - request summary stats about your subscribers, your email blasts and your transactional emails
job - "Job" covers several actions including importing / updating / exporting subscribers, getting stats from sent email blasts and querying your subscribers analytics in aggregate
-
purchase - record an ecommerce shopping cart or checkout event, for "abandoned-shopping-cart emails"
content - add or update a piece content to Horizon, triggering any matching alerts for users (see below)
alert - update or retrieve a user's alert settings - alerts are special transactional emails that notify your users of content on your site that matches certain custom criteria (
Alerts Overview)
trigger - create / update / delete transactional trigger (
beta)
inbox - setup inbox for incoming emails (
beta)
preview - preview blasts and templates (
beta)
settings - display and change your settings (
beta)
Postbacks - Postbacks are used to keep the information on your web application current in response to user actions like opt-outs and verifications.
-
Error Codes - a complete list of the error codes you can receive from the
API
-