GoZAP Admin
AI-generatedSummary
Configure global webhooks for the GoZAP server to receive event notifications, or list global webhook errors.
Inputs
- globalWebhooks (required) — An array of webhook configurations to set (visible only when operation is 'setGlobalWebhooks'). Each includes URL, enabled status, events, message filters, and URL segment options.
- limit — Maximum number of errors to return (visible only when operation is 'getGlobalWebhookErrors').
Output shape
A list of items, each containing the configuration details or error list for global webhooks.
When listing errors, the response is paginated via the limit parameter. Setting webhooks replaces the existing global configuration entirely.
Examples
Example 1: Set up a global webhook to receive connection and message events, excluding messages sent by the API.
Operation: setGlobalWebhooks, Events: messages, connection, Exclude Messages: wasSentByApi
Example 2: Retrieve the last 10 global webhook errors to troubleshoot delivery issues.
Operation: getGlobalWebhookErrors, Limit: 10