Sailthru API

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.

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.

Usage examples - what do customers do with the API?

The Sailthru API is a simple REST-based service. Here are some of the typical use cases for API usage:

Send email messages to individuals

Schedule email campaigns

Add and update user subscriptions

Perform background processing tasks

  • Start a Job, or get the status of a background Job ; Examples include:
    • subscriber list imports / Details
    • bulk updates of subscriber information / Details
    • exports of subscriber information / Details
    • get the status of an in-progress job / Details

Terminology and API Calls

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 delivery and subscription management

Reporting

  • 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

Horizon - for hyper personalization of email and website experiences

  • horizon - reads and writes the Horizon cookie to enable Horizon functionality for a subscriber (Horizon Overview)
  • 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)

Advanced and beta API functionalities

  • 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)

Testing / interacting with the API directly

Test out your api calls You can also test API calls directly using the API test form.

Note, you must be logged into Sailthru's web interface to use the API test. Users in our new interface should use http://my.sailthru.com/api/test.

Other API Topics

  • Postbacks - Postbacks are used to keep the information on your web application current in response to user actions like opt-outs and verifications.
  • API Technical Details - If you are interested in writing your own client, or coding directly to the API
  • Error Codes - a complete list of the error codes you can receive from the API

Learning the Sailthru Api

 
/var/www/docs.sailthru.com/htdocs/data/pages/api.txt · Last modified: 2011/11/15 17:05 by Will Farrell
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki