SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Global Webhook → Update

AI-generated

Summary

Update an existing global webhook configuration

Inputs

  • webhookId (required) — The ID of the global webhook to update
  • requestBody — JSON payload containing the new webhook settings
  • requestOptions — Additional request settings such as batching or proxy configuration
  • allowUnauthorizedCerts — If true, SSL certificate validation is skipped
  • proxy — HTTP proxy URL to use for the request
  • timeout — Request timeout in milliseconds

Output shape

A JSON object representing the updated global webhook

Returns the updated webhook details; response may include standard webhook fields.

Examples

Example 1: Update a webhook to modify its URL and HTTP method

operation=updateGlobalWebhook, webhookId=123, requestBody={ "url": "https://example.com/webhook", "method": "POST" }

Example 2: Disable SSL verification for the update request

operation=updateGlobalWebhook, webhookId=123, requestOptions={{allowUnauthorizedCerts:true}}

Example 3: Increase timeout for a large payload update

operation=updateGlobalWebhook, webhookId=123, timeout=30000

Links

Discussion