Skip to main content

Overview

Update an existing webhook to modify its destination URL, subscribed events, status, or signing secret. Changes take effect immediately after the request is successful.

Prerequisites

  • Bearer Token authentication
  • Valid Webhook ID

Request

string
required
Bearer token for authenticated workspace access.
string
required
Unique identifier of the webhook.

Request Body

string
Updated display name of the webhook.
string
Updated HTTPS endpoint that will receive webhook events.
array[string]
List of events that should trigger the webhook.Supported events include:
  • call.started
  • call.answered
  • call.completed
  • call.failed
  • call.transferred
  • call.recording.available
  • call.summary.generated
  • call.analysis.completed
string
Updated webhook signing secret.
boolean
Enable or disable the webhook.

Response

boolean
Indicates whether the request completed successfully.
integer
HTTP status code returned by the API.
string
Success message returned by the API.
object
Updated webhook information.
string
Unique identifier of the webhook.
string
Webhook display name.
string
Webhook destination URL.
array[string]
List of subscribed events.
boolean
Whether the webhook is currently enabled.
string
Timestamp of the most recent update.

Error Handling

Only include the fields you want to update. Any fields omitted from the request remain unchanged.
After updating a webhook, Weya AI immediately begins sending events using the new configuration.