Setup
- Go to the Webhooks Dashboard.
- Register your endpoint URL (e.g.,
https://api.your-app.com/webhooks/FinePDF). - Provide a secret key for HMAC signature verification.
Async Generation
To trigger a webhook, use theasync=true query parameter when calling the generation endpoint:
202 Accepted immediately with a jobId.
Signature Verification
Every webhook request includes anX-FINE-Signature header. You should verify this signature to ensure the request came from FinePDF.
The signature is a HMAC-SHA256 hash of the raw request body using your webhook secret.