Referral SaaSquatch API Webhooks
Interacting with third party APIs like Referral SaaSquatch often suffers from two important problems:
- Services not directly responsible for making an API request may still need to know the response
- Some events, like coupon created events, are not the result of a direct API request
Webhooks solve these problems by letting you register a URL that we will POST anytime an event happens in your account. When the event occurs, for example when a vanity coupon code is created for a new user, Referral SaaSquatch creates an event object.
This object contains all the relevant information, including the type of event and the data associated with that event. Referral SaaSquatch then sends an HTTP POST request with the event object to any URLs in your account's webhook settings.
For more information click here.