AI Evy
09/02/2025, 12:56 AMAI Evy
09/02/2025, 12:57 AMx-retell-signature header for webhook security instead of a pre-shared secret key like x-api-key [(1) ]() . The webhook verification process works by using your Retell API Key together with the x-retell-signature header to verify that the webhook comes from Retell AI .
The security implementation uses the Retell SDK's verify function:
javascript
if (
!Retell.verify(
JSON.stringify(req.body) ,
process.env.RETELL_API_KEY,
req.headers["x-retell-signature"] as string,
)
) {
console.error("Invalid signature") ;
return;
}
Only the API key that has a webhook badge next to it can be used to verify the webhook . You can also allowlist Retell IP addresses: 100.20.5.228 .
So to answer your question directly: No, Retell AI does not include a pre-shared secret key in headers like x-api-key. Instead, it uses the x-retell-signature header combined with your webhook-enabled API key for security verification.AI Evy
09/02/2025, 12:57 AMAI Evy
09/02/2025, 12:57 AM