Create Webhook Endpoint
Changed onRegisters an HTTPS URL to receive webhook event notifications. Returns the endpoint details and a signing secret. The signing secret is only shown at creation and rotation — store it securely.
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/webhooks/endpoints
- Auth
- API key in header x-api-key
- or HTTP bearer
Headers
Optional client-supplied key for safely retrying mutations. Subsequent calls within 24 hours that share this key replay the original response — even if the request body differs slightly (a warning is logged). A retry that arrives while the original is still in flight gets a 409 request_in_progress. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default. Scope is per-endpoint and per-resource: the same key on a different route or path parameter is independent.
Request body
Response
Successful response
Example response
{
"data": {
"endpoint_id": "ep_abc123def456",
"url": "https://example.com/webhook",
"events": [
"avatar_video.success",
"avatar_video.fail"
],
"status": "enabled",
"created_at": "2024-04-01T12:00:00Z",
"secret": "whsec_abc123def456"
}
}Changes
- info
added the new
filler_word_removal.failenum value to the request property// - info
added the new
filler_word_removal.successenum value to the request property// - info
added the new
podcast.failenum value to the request property// - info
added the new
podcast.successenum value to the request property// - info
added the new
video_generation.failenum value to the request property// - info
added the new
video_generation.successenum value to the request property// - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info