Skip to main content
PATCH
Update webhook

Parameters

string
required
The ID of the webhook to update.

Body

string
Updated name for the webhook.
string
Updated URL for the webhook.
string[]
The webhook events that you want to receive. Options aremessage.incoming, message.status, or recipient.optout (read more).
string[]
Array of phone numbers to receive events for in . If none are provided, webhook will default to all numbers assigned to the campaign.

Response

boolean
Whether the update succeeded.
object
The details of the webhook.