PATCH
/
api
/
workers
/
{workerId}
/
deployments
/
{deploymentId}
/
voice
/
customWebhooks
/
{webhookId}
curl --request PATCH \
  --url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deployments/{deploymentId}/voice/customWebhooks/{webhookId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "url": "<string>",
  "method": "<string>",
  "fields": "<string>",
  "active": "<string>"
}'

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required
deploymentId
string
required
webhookId
string
required

Body

application/json

Response

200

Custom webhook updated successfully