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": "GET",
"fields": "<string>",
"active": true
}'
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": "GET",
"fields": "<string>",
"active": true
}'
API key authentication
Custom webhook updated successfully