Webhooks

Webhooks

Destinations and the delivery log.

Webhook create and update bodies match the session API documentation. The required permission is written beside each path.

GET    /instances/{instance_id}/webhooks                         webhooks.read
POST   /instances/{instance_id}/webhooks                         webhooks.write
PATCH  /instances/{instance_id}/webhooks/{webhook_id}            webhooks.write
POST   /instances/{instance_id}/webhooks/{webhook_id}/enabled    webhooks.write
DELETE /instances/{instance_id}/webhooks/{webhook_id}            webhooks.delete

GET  /instances/{instance_id}/webhooks/{webhook_id}/deliveries
     webhooks.deliveries.read

POST /instances/{instance_id}/webhooks/{webhook_id}/deliveries/{delivery_id}/redeliver
     webhooks.redeliver

The delivery log is the latest attempts. Redeliver retries a failed or dead attempt for the same event.

The session key does not open the new account paths, and the account key does not pass a path without its permission.