Webhook Configuration¶
Webhooks provide outbound notifications for explicit InfraLynx events.
Webhook record¶
Each webhook stores:
idendpoint_urlevent_typessecretenabledcreated_atupdated_at
Configuration rules¶
- Endpoint URLs must use
httporhttps. - A webhook must subscribe to at least one event type.
- Event filters are exact event names, with optional
*for all supported events. - Disabled webhooks stay registered but do not receive delivery jobs.
Registration flow¶
- Client calls
POST /api/webhooks. - InfraLynx validates the endpoint and filter set.
- The webhook is stored.
- A
webhook.createdevent is emitted. - Matching delivery jobs are queued through the job engine.
Update and delete¶
PUT /api/webhooks/{id}updates endpoint URL, filters, secret, or enabled state.DELETE /api/webhooks/{id}removes the registration and emitswebhook.deleted.