https://retellai.com/?utm_source=discord&utm_medium=seo logo
can retell include a pre-shared secret key in the ...
# ❓・ai-evy-support
a
Thanks for tagging me @nrikike4676. I'll look through relevant sources and get back to you shortly.
### Answer Retell AI uses the
x-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:
Copy code
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.
​ To learn more, see the sources I considered: [[1] Secure the webhook](https://docs.retellai.com/features/secure-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.