Webhooks (API documentation)

What are webhooks?

At a high level, webhooks are automated messages sent from apps when something happens.

In the context of SaaS Alerts, this means a partner can receive a steady data stream of events as they are recorded by SaaS Alerts for customer organizations that belong to the partner.

This information is sent programmatically to a partner application to act on as needed. Setting up a webhooks server to receive notifications and take custom actions for the partner requires software development expertise. 

SaaS Alerts does not provide development assistance to partners for the purposes of creating custom partner applications that utilize webhook data feeds. Experienced software developers who are familiar with webhooks concepts can use this guide along with SaaS Alerts webhooks and API reference guides to create custom applications for SaaS Alerts partners.  

Additional documentation

For complete documentation on subscription options, refer to the API documentation.

Setting up a SaaS Alerts Webhooks subscription

  1. Open manage.saasalerts.com.
  2. From the left navigation menu, navigate to Settings > API.
  3. Locate the Webhooks API section.
  4. To add a domain for subscription authorization, click the Add new domain icon.

  5. Enter a valid domain you will use for creating subscription endpoints.
  6. EXAMPLE  
    partnerdomain.com
    partnerdomain.com/path
    webhooks.partnerdomain.com

  7. Click Add to submit the domain for validation and add the domain authorization for a SaaS Alerts Webhooks subscription if validation is successful. 
  8. NOTE  Validation requires that, when queried, the domain returns a 2xx (typically 200) response indicating that it is live and can accept HTTP(s) requests. The domain host can have a blank page, API endpoint, or maybe the domain on which your primary website exists.

    IMPORTANT  The domain must match the location of your webhook endpoint. 

The domain validation process will produce one of the following results: