Set up webhooks
A webhook lets VerifyPDF call your own URL when a verification result is ready, so your system is notified instead of polling. Set a webhook URL per API key.
A webhook is a way for VerifyPDF to tell your system that a result is ready, instead of your system asking again and again. This article explains the idea and how to turn it on.
What a webhook is, in plain terms
When you verify a document, the result is not always ready instantly. Without a webhook, your system has to keep checking, βis it done yet?β That is called polling.
A webhook flips that around. You give VerifyPDF a URL on your own system. When a result is ready, VerifyPDF calls that URL and sends the outcome to you. Your system reacts to the call instead of polling for changes.
Set a webhook URL per key
Each API key can have its own webhook URL. You set it in the dashboard:
- Sign in at secure.verifypdf.com and open Developers in the left sidebar.
- Pick the API key you want to use.
- Add your webhook URL to that key and save.
Because the URL is set per key, you can point a test key at a test URL and a live key at your production URL. See Test vs live API keys.
What VerifyPDF sends
When a verification finishes, VerifyPDF calls your webhook URL so your system can act on the result, for example updating a case or alerting a reviewer. For the exact payload and how to verify that a call really came from VerifyPDF, see the API reference at /agents/ and the in-dashboard Developers docs.
Next steps
- Need a key first? See Generate and manage API keys.
- Want the full sending flow? See Verify a document with the API.