webhook to have Gotenberg upload the result to your storage or service. Gotenberg answers 204 No Content right away, so the method resolves to an empty buffer. Once the work is done, it uploads the result to webhookUrl, then posts an event to webhookEventsUrl.
http or https URL Gotenberg can reach.
webhook except the PDF read methods and the System routes.
The upload
The upload carries the result with itsContent-Type, a Content-Disposition that names the file, the request’s Gotenberg-Trace, and your extra headers.
The events
Awebhook.success event follows a delivered upload:
webhook.error instead, with the status and the message the request would have answered:
correlationId is the request’s trace: set it to your own identifier to match events to requests (see Request tracing).
Gotenberg retries an upload that can’t connect, or that answers 429 or a 5xx. For retries, synchronous delivery and destination filters, see Gotenberg – webhooks.