API Test Page

While you are implementing the Sailthru API, you might want to test single API calls before fully implementing your code. You can do this using the API Test page. Note that this feature offers access to your live account data so proceed with caution.

Visit the API Test page here, or use the Settings icon at the top of My Sailthru and select API Test.

Screen Shot 2017-03-24 at 4.34.43 PM

  1. Select a Method – GET, POST, or DELETE.
    Note: A POST or DELETE call can make changes to your account data, send messages, or perform other user-facing actions, so please proceed with caution.
  2. Change the Action to the API endpoint you wish to use.
  3. Write or paste the call code in JSON, then click Submit.

For example, you can try this call to get data on a user, specifying some optional fields to return:

api test page screenshot

You could alternatively switch the method to POST and create a test user, then perform a User Lookup to see the data posted on that user’s profile, or try any other endpoint/call documented in the Sailthru API.

Top