How do webhooks work?
Webhooks are small portions of code (called HTTPS callbacks) which are sent from one app to another based on specific events in the initial app. Whenever an event occurs in the first app, the webhook “notices” and sends a data package to your endpoint URL. Your app then processes this data and uses it to trigger other events.
Do webhooks work on mobile apps?
Webhooks send data server-to-server, so it’s not possible to send an HTTPS callback directly to a mobile device. However, it is possible to receive the event update on your server and push it to a mobile app. You can configure the app to respond accordingly based on this update.
What are the benefits of using webhooks instead of polling?
Resources and simplicity. Webhooks send updates based on activity in the source app, in this case, PandaDoc. The key is that data “packages” about events are sent as they occur from PandaDoc to your app. There is no need for you to make requests repeatedly to the PandaDoc servers to receive updates. Polling requires a dedicated infrastructure for making periodic calls to check document statuses.
What kind of signature and document events trigger PandaDoc webhooks?
There are four main types of events that PandaDoc webhooks trigger:
– Document state changes, such as when a document is created.
– Recipient approval or completion of a document.
– Updates to a completed document.
– Document deletion.