curl --request POST \
--url https://api.heygen.com/v3/webhooks/endpoints/{endpoint_id}/rotate-secret \
--header 'x-api-key: <api-key>'
{}
Webhooks
Rotate webhook signing secret
Generate a new signing secret for a webhook endpoint. The old secret is immediately invalidated. Store the new secret securely — it will not be shown again.
POST
/
v3
/
webhooks
/
endpoints
/
{endpoint_id}
/
rotate-secret
Rotate webhook signing secret
curl --request POST \
--url https://api.heygen.com/v3/webhooks/endpoints/{endpoint_id}/rotate-secret \
--header 'x-api-key: <api-key>'