メインコンテンツへスキップ
POST
cURL

承認

Authorization
string
header
デフォルト:$CARTESIA_API_KEY
必須

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

ヘッダー

Cartesia-Version
enum<string>
デフォルト:2026-03-01
必須

API version header.

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

"2026-03-01"

ボディ

application/json
url
string<uri>
必須

The HTTPS endpoint Cartesia POSTs call events to.

secret
string
必須

A shared secret. Cartesia returns it in the X-Webhook-Secret header on every delivery so your endpoint can verify the request.

display_name
string

An optional name to identify the webhook.

レスポンス

200 - application/json

Webhook created. The response includes the secret — this is the only time it is returned.

A webhook including its secret. The secret is only returned when the webhook is created.

id
string
必須

The ID of the webhook.

url
string<uri>
必須

The HTTPS endpoint call events are delivered to.

secret
string
必須

The shared secret. Returned only on creation.

created_at
string<date-time>
必須

When the webhook was created.

updated_at
string<date-time>
必須

When the webhook was last updated.

display_name
string | null

The webhook's display name, or null if unset.