CLI: Webhooks
The prb webhook commands let you create and manage webhook subscriptions to receive notifications about events in your organization.
Create a webhook
Section titled “Create a webhook”prb webhook create \ --url https://example.com/webhook \ --event MEETING_CREATED \ --event MEETING_UPDATED| Flag | Required | Description |
|---|---|---|
--url | Yes | Webhook endpoint URL |
--event | Yes | Event type to subscribe to (can be repeated) |
--org | No | Organization ID |
Available event types
Section titled “Available event types”| Event | Description |
|---|---|
MEETING_CREATED | A meeting was created |
MEETING_UPDATED | A meeting was updated |
MEETING_DELETED | A meeting was deleted |
VENDOR_CREATED | A vendor was created |
VENDOR_UPDATED | A vendor was updated |
VENDOR_DELETED | A vendor was deleted |
USER_CREATED | A user was created |
USER_UPDATED | A user was updated |
USER_DELETED | A user was deleted |
OBLIGATION_CREATED | An obligation was created |
OBLIGATION_UPDATED | An obligation was updated |
OBLIGATION_DELETED | An obligation was deleted |
List webhooks
Section titled “List webhooks”prb webhook listView a webhook
Section titled “View a webhook”prb webhook view WEBHOOK_IDUpdate a webhook
Section titled “Update a webhook”prb webhook update WEBHOOK_IDDelete a webhook
Section titled “Delete a webhook”prb webhook delete WEBHOOK_IDList webhook events
Section titled “List webhook events”View available webhook event types:
prb webhook event list