SaaSquatch REST API
Our REST API lets you build your own custom logic on top of your referral program. The API reference includes details about using all the methods of the SaaSquatch REST API.
About the REST API
The SaaSquatch REST API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and to use HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which can be understood by off-the-shelf HTTP clients. JSON will be returned in all responses from the API, including errors.
REST API Benefits
The SaaSquatch REST API provides a powerful, highly flexible, and highly customizable way of connecting your application with SaaSquatch.
With the SaaSquatch API you can tailor your referral program to fit the specifics of your product and business model.
Using the SaaSquatch REST API
Each API method in the reference includes a full list of the available arguments (both required and optional), and exmaple cURL request, details of the structure of the response, and a complete example of the JSON response.
A full list of available API methods can be found in the SaaSquatch REST API Reference document.
The following examples are just some of what is possible through our REST API:
- Create, update, and lookup Accounts
- Create, update, and lookup Users
- Attribute, lookup, list, and moderate referrals
- Create, List balance, and redeem rewards