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(webhook_url.text)response = requests.post( "https://platform.reducto.ai/parse", json={ "input": "https://pdfobject.com/pdf/sample.pdf", "async": { "webhook": { "mode": "svix", "channels": [] # Optional: specify channels or omit to send to all } } }, headers={"Authorization": "Bearer <<user>>"},)