Emailit icon

Emailit

Transactional email platform. Send emails, manage domains, templates, audiences, webhooks, suppressions, contacts, and verify emails via the Emailit API.

Webhooks → Update a webhook

AI-generated

Summary

Update a specific webhook by its id, modifying its URL, events, and active status with optional custom request body, headers, query filters, and pagination controls.

Inputs

  • id (required) — The unique identifier of the webhook to be updated.
  • additionalFields — Optional fields to update: the webhook URL, the events it listens to (as JSON array), and whether it is active (boolean).
  • returnAll — Whether to return all paginated results or only a single page.
  • options — Additional options including custom JSON request body (deep-merged with other fields), custom HTTP headers, query-string filters, batching parameters, debug mode output, pagination configuration, and request timeout settings.

Output shape

a single updated webhook object or a paginated list of webhooks depending on 'returnAll' setting

If 'returnAll' is true, the operation fetches all available pages using the configured pagination method; otherwise, it returns only a single page of results. Enabling 'debug' adds request details in the output. Errors and API response structure depend on the Emailit API.

Links

Discussion