Setup
- Open app.platendoc.com and navigate to Webhooks in the sidebar.
- Click Add webhook.
- Enter your HTTPS endpoint URL and select the events you want to receive.
- Copy the signing secret — it’s shown only once. Store it in an environment variable (e.g.
PLATENDOC_WEBHOOK_SECRET).
Events
Delivery format
Platendoc sends aPOST request to your endpoint with the following headers:
Payload
generation.failed events, payload also includes an error field:
GET /generations/{generationId} to fetch the full generation object including outputUrl.
Verifying signatures
Every delivery includes anX-Platendoc-Signature header. Always verify it before processing.
- Node.js
- Python
Retries
After 5 failed attempts the delivery is dropped. Return a
2xx status code quickly — perform any heavy processing asynchronously.