1. APIs
  2. Webhooks
  3. Guide for Webhooks

Guides

 

About webhooks

Webhooks provide a way to receive real-time notifications from Pabau regarding changes to your data. If you are unfamiliar with webhooks, we recommend exploring this guide for more information.

Instead of manually retrieving information through our API, webhooks automatically push relevant updates to your designated endpoint. For instance, when a specific event occurs—such as the addition of a new deal—Pabau will promptly send a notification as an HTTP POST request containing a JSON body to the endpoints you have specified.

Supported event actions

  • create
  • update
  • delete

Supported object types

  • appointment
  • client
  • activity
  • lead
  • invoice

Status codes for Webhooks

You can see the status of the last attempt made by your webhook(s) in the webhook dashboard. The webhooks dashboard is available here inside Pabau.

There are three status code ranges or messages that are expected:

  • 2XX status code range shows a successful delivery of your webhook request.
  • 500 status code indicates a server error, usually on the client side.
  • An Error status message is shown if there is a timeout of the webhook request, the webhook is blocked, or there is an internal problem on Pipedrive’s end. If you encounter this error, you can contact our support team, who can further inquire into the logs of these requests.

For a successful delivery, we'll accept any 2XX status code. Any other code or message is counted as a failure, which means the retry logic and the webhooks policy will commence.