Update a webhook subscription
Webhooks
Update a webhook subscription
Replace a webhook subscription’s settings.
PUT
Update a webhook subscription
Authorizations
Bearer token authentication. Include your API token in the Authorization header.
Format: Authorization: Bearer <your-token>
Path Parameters
Unique identifier of the webhook subscription
Body
application/json
New target URL for webhook events
Updated list of event types to subscribe to
Minimum array length:
1Available options:
message.sent, message.received, message.read, message.delivered, reaction.added, reaction.removed, participant.added, participant.removed, chat.created, chat.group_name_updated, chat.group_icon_updated, chat.typing_indicator.started, chat.typing_indicator.stopped Activate or deactivate the subscription
Response
Webhook subscription updated successfully
Unique identifier for the webhook subscription
URL where webhook events will be sent
List of event types this subscription receives
Available options:
message.sent, message.received, message.read, message.delivered, reaction.added, reaction.removed, participant.added, participant.removed, chat.created, chat.group_name_updated, chat.group_icon_updated, chat.typing_indicator.started, chat.typing_indicator.stopped Whether this subscription is currently active
When the subscription was created
When the subscription was last updated

