メインコンテンツへスキップ
PATCH
/
agents
/
webhooks
/
{webhook_id}
Update Webhook
curl --request PATCH \
  --url https://api.cartesia.ai/agents/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "secret": "<string>",
  "display_name": "<string>"
}
'
"<string>"

承認

Authorization
string
header
必須

Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.

ヘッダー

Cartesia-Version
enum<string>
必須

API version header.

利用可能なオプション:
2026-03-01
:

"2026-03-01"

パスパラメータ

webhook_id
string
必須

The ID of the webhook.

ボディ

application/json

Fields to update on a webhook.

url
string<uri>
必須

The HTTPS endpoint Cartesia POSTs call events to.

secret
string

A new shared secret. Omit to leave the existing secret unchanged.

display_name
string

An optional name to identify the webhook.

レスポンス

Webhook updated. Returns the ID of the updated webhook.

The ID of the updated webhook.