This guide demonstrates how to configure Svix for webhook notifications on job updates.
Webhooks allow your application to receive real-time updates when long-running or asynchronous jobs are completed — such as parsing or extraction tasks submitted via Reducto’s API.Instead of continuously polling the job status, you can configure a webhook endpoint to be notified automatically when a job finishes. Svix handles secure delivery, retries, signing, and delivery tracking of these notifications.
Copy
Ask AI
import requestswebhook_url = requests.post( "https://platform.reducto.ai/configure_webhook", headers={"Authorization": "Bearer <<user>>"},)# Go to this link to configure your webhook receiving applicationprint(response.text)response = requests.post( "https://platform.reducto.ai/async_parse", json={ "document_url": "https://pdfobject.com/pdf/sample.pdf", "webhook": {"mode": "svix"}, }, headers={"Authorization": "Bearer <<user>>"},)