Update Subscription
Changed onUpdate an existing webhook subscription.
Use this endpoint to modify a subscription's configuration. You can:
- Change the URL: Update where events are delivered
- Update event types: Modify which events trigger notifications
- Enable/disable: Temporarily pause delivery without deleting the subscription
- Recover messages: When re-enabling, optionally recover missed messages
Only include the fields you want to change. Omitted fields will retain their current values.
When re-enabling a subscription (disabled: false), you can optionally provide recover_since to automatically retry all messages that were generated while the subscription was disabled.
Request
- Base URLhttps://api.airweave.ai
- AuthAPI key in header x-api-key
Path parameters
The unique identifier of the subscription to update (UUID).
Request body
Example request
{
"summary": "Update event types",
"value": {
"event_types": [
"sync.completed",
"sync.failed",
"sync.running"
]
}
}Response
Updated subscription
Example response
{
"created_at": "2024-03-01T08:00:00Z",
"description": "Production notifications for data team",
"disabled": false,
"filter_types": [
"sync.completed",
"sync.failed"
],
"health_status": "healthy",
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"updated_at": "2024-03-15T14:30:00Z",
"url": "https://api.mycompany.com/webhooks/airweave"
}Changes
- info
added the new
search.completedenum value to the request property// - info
added the new
search.failedenum value to the request property// - info
added the new
search.rerankingenum value to the request property// - info
added the new
search.startedenum value to the request property// - info
added the new
search.thinkingenum value to the request property// - info
added the new
search.tool_calledenum value to the request property//
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new
access_control.batch_processedenum value to the request property// - info
added the new
entity.batch_processedenum value to the request property// - info
added the new
organization.createdenum value to the request property// - info
added the new
organization.deletedenum value to the request property// - info
added the new
organization.member_addedenum value to the request property// - info
added the new
organization.member_removedenum value to the request property// - info
added the new
query.processedenum value to the request property// - info
added the optional property
to the response with the status
- warning