Webhook endpoints
Where Bibu posts each hot lead or reply, signed.
/webhooksMCP tool list_webhooksParameters
No parameters.
Example request
curl "https://meetbibu.com/api/v1/webhooks" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"data": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"url": "hooks.example.com/…",
"events": "hot",
"enabled": true,
"createdAt": "2026-11-24T09:58:00.000Z",
"last": {
"at": "2026-11-24T09:58:00.000Z",
"ok": true,
"status": 200,
"error": "…"
},
"failing": 12
}
]
}Possible errors
401unauthorized· No valid API key.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/webhooksMCP tool add_webhookAn https URL that gets every hot lead (events hot) or every reply (events replies), as signed JSON POSTs (see the webhooks section). The answer holds its signing secret: also shown in API & MCP › Webhook.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
url | body | stringrequired | At most 2,000 characters. |
events | body | string | One of: hot, replies. Default: "hot". |
Example request
curl -X POST "https://meetbibu.com/api/v1/webhooks" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://hooks.example.com/bibu"
}'Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"url": "hooks.example.com/…",
"events": "hot",
"enabled": true,
"createdAt": "2026-11-24T09:58:00.000Z",
"last": {
"at": "2026-11-24T09:58:00.000Z",
"ok": true,
"status": 200,
"error": "…"
},
"failing": 12,
"secret": "whsec_…"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/webhooks/{id}MCP tool get_webhookWith its last 50 deliveries, newest first, and why each failed.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/webhooks/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"url": "hooks.example.com/…",
"events": "hot",
"enabled": true,
"createdAt": "2026-11-24T09:58:00.000Z",
"last": {
"at": "2026-11-24T09:58:00.000Z",
"ok": true,
"status": 200,
"error": "…"
},
"failing": 12,
"deliveries": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"event": "lead.hot",
"status": "pending",
"attempts": 12,
"nextAt": "2026-11-24T09:58:00.000Z",
"lastStatus": 200,
"lastError": "…",
"lastDetail": "…",
"who": "…",
"createdAt": "2026-11-24T09:58:00.000Z",
"updatedAt": "2026-11-24T09:58:00.000Z"
}
]
}Show all 29 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/webhooks/{id}MCP tool update_webhookOff, it gets nothing (what waited for it is dropped); on again, it catches up on the hot leads of the last 7 days it never got.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
enabled | body | booleanrequired |
Example request
curl -X PATCH "https://meetbibu.com/api/v1/webhooks/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true
}'Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"url": "hooks.example.com/…",
"events": "hot",
"enabled": true,
"createdAt": "2026-11-24T09:58:00.000Z",
"last": {
"at": "2026-11-24T09:58:00.000Z",
"ok": true,
"status": 200,
"error": "…"
},
"failing": 12
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/webhooks/{id}MCP tool delete_webhookTakes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X DELETE "https://meetbibu.com/api/v1/webhooks/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"ok": true
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/webhooks/{id}/testMCP tool test_webhookA made-up hot lead (type test), sent at once, signed like the real ones; the answer says how its URL answered. sent: false when nothing left Bibu (reason playground: a copy of Bibu where every outside service is simulated, such as a test machine): then status is null and ok only says the test was recorded.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X POST "https://meetbibu.com/api/v1/webhooks/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/test" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"ok": true,
"status": 200,
"error": null,
"detail": null,
"sent": true,
"reason": null
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.