Blooio icon

Blooio

Send iMessages, manage contacts, groups, webhooks and more via the Blooio API

Webhook → Update

AI-generated

Summary

Update a webhook's configuration, expiration, deprecation status, or event type.

Inputs

  • webhookId (required) — The webhook ID to update (e.g. wh_abc123).
  • updateFields — A collection of fields to update. Supported fields include 'webhook_type' (Message, Status, or All), 'valid_until' (expiration timestamp in milliseconds, -1 for no expiration), and 'deprecate' (boolean to mark the webhook as deprecated).
  • requestOptions — Optional request settings including batching, proxy, timeout, and SSL verification.

Output shape

A single record containing the updated webhook details.

The updated webhook configuration is returned in the response body.

Examples

Example 1: Renew a webhook expiration date

Set webhookId to the target webhook and valid_until to the new Unix timestamp in milliseconds.

Example 2: Change event type

Set webhookId to the target webhook and webhook_type to 'status' or 'all'.

Example 3: Deprecate a webhook

Set webhookId to the target webhook and deprecate to true.

Links

Discussion