Webhooks
The API does not send webhooks to your servers yet. To learn when a job finishes, use one of these, all described in How jobs work:
- Server-sent events:
GET /v1/images/{id}/events(or/v1/videos/{id}/events) pushes every change and then the final job, over one open connection. This is the closest to a webhook. - Long-polling:
GET /v1/images/{id}?wait=25answers as soon as the job changes. - Polling: read the job every
poll_after_ms.
For many jobs, a batch lets you follow one object instead of each job.