Update Webhook
Webhooks
Update Webhook
Update a webhook’s URL, events, name, or active status. REST endpoint in the Tuco AI iMessage API — bearer-token auth, JSON request/response, full schema and.
PATCH
Update Webhook
Update any combination of fields on an existing webhook. Only include the fields you want to change.
Authentication
Path parameters
Webhook ID.
Request body
All fields are optional. Include only what you want to change.New endpoint URL.
New event subscriptions. Replaces the existing list (not a merge).
Valid values:
message.sent, message.failed, message.fallback, message.reply, message.opened.New name.
New description.
Set
false to pause delivery without deleting the webhook. Set true to resume.Examples
200 Response
Errors
| Status | When |
|---|---|
400 | Invalid URL, empty events array, invalid event types, empty name |
401 | Invalid or missing API key |
402 | Subscription past due |
404 | Webhook not found in your workspace |