Update a webhook subscription
Last updated
Last updated
Update a webhook subscription. This endpoint allows you to update the URL, event filters of a webhook subscription and other fields like the signingKey used to authenticate the request.
The ID for the workspace.
"b4e02c85-c6d2-4b15-8885-e09671799c61"
The ID for the organization.
"cb28a94e-8557-4394-80ea-5bbd2170d434"
The ID for the webhook subscription.
"852883af-5f68-4204-b611-7ee8db9600f4"
The URL of the webhook is used to send events to the webhook. The URL must be a valid URL that is accessible from the internet. For example, if you want to send events to a webhook that is hosted at "https://example.com/webhook", the URL would be "https://example.com/webhook".
"https://example-site.com/resource"
^https://([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(/[^\s]*)?$
The signing key for the webhook and can be used to verify the authenticity of the webhook.
"KeV+/HGoIQrxuE5YPCRR6AuQOJveldYNNhbVi1i22qk="
The webhook subscription was updated successfully.
The unique identifier for the webhook subscription. This identifier is used to reference the webhook subscription in other API calls.
The service that the webhook is subscribed to. For example, to get events regarding channels, the service would be "channels".
"channels"
The name of the event is used to identify the event that is sent to the webhook. For example, to get events regarding SMS messages being sent (outbound), the name of the event would be "sms.outbound".
"sms.outbound"
The URL of the webhook is used to send events to the webhook. The URL must be a valid URL that is accessible from the internet. For example, if you want to send events to a webhook that is hosted at "https://example.com/webhook", the URL would be "https://example.com/webhook".
"https://example-site.com/resource"
^https://([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(/[^\s]*)?$
The signing key for the webhook and can be used to verify the authenticity of the webhook.
"KeV+/HGoIQrxuE5YPCRR6AuQOJveldYNNhbVi1i22qk="