- GET [/instances/$INSTANCES]/private/webhooks#
This is used to return all the webhooks that are present in our backend.
Required permission:
webhooks-readResponse:
- 200 OK:
The backend has successfully returned all the webhooks. Returns a WebhookSummaryResponse.
- 404 Not found:
The backend has does not know about the instance.
Details:
interface WebhookSummaryResponse { // Return webhooks that are present in our backend. webhooks: WebhookEntry[]; }
The WebhookEntry object describes a webhook. It has the following structure:
interface WebhookEntry { // Webhook identifier, as found in the webhook. webhook_id: string; // The event of the webhook: why the webhook is used. event_type: WebhookEventType; }