Webhooks
Libro can notify your application when asynchronous events finish executing, such as massive document chunking.
Setting up Webhooks
- Go to your Libro Dashboard -> Webhooks.
- Add your endpoint (e.g.
https://api.yourapp.com/webhooks/libro). - Select the events you want to subscribe to.
Webhook Payload
When a large ingestion finishes, you will receive a POST request:
{
"event": "ingestion.complete",
"data": {
"userId": "user_999",
"chunksProcessed": 450,
"timeTakenMs": 1205
}
}
Security Signature
Always verify the X-Libro-Signature header to ensure the webhook genuinely originated from our servers.