Server-side

### Webhooks

Receive job results as they happen instead of polling the API.

Configure webhooks in the

Filecheck admin

to push results to your server without polling.

### Navigate to header: Events Events

| Event | Fires when |
| --- | --- |
| job.created | A job is created. |
| job.completed | A job reaches a terminal status. |

### Navigate to header: Handling a webhook Handling a webhook

On

job.completed

, fetch the full job with your secret key and download

files\[n\].outputRef

:

curl

https://api.filecheck.io/jobs/\{jobId\}?expand=runs

\\

-H

"Authorization: Bearer sk\_live\_…"

Respond

2xx

quickly and do any heavy work asynchronously.

Signature verification — coming soon.

Verify each webhook’s signature before trusting it. The signing scheme and full payload shape are being finalized.

TODO(filecheck): publish the signing scheme (header \+ algorithm) and the webhook payload shape.

Suggest edits

Raise issue

[Filecheck admin](https://admin.filecheck.io/)

[Suggest edits](https://github.com/sterlyai/mintlify-docs/edit/main/server/webhooks.mdx)

[Raise issue](https://github.com/sterlyai/mintlify-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/server/webhooks)

[Navigate to header: Events](https://filecheck.io/docs/server/webhooks#events)

[Navigate to header: Handling a webhook](https://filecheck.io/docs/server/webhooks#handling-a-webhook)