Alex
05/09/2026, 2:49 PMAI Evy
05/09/2026, 2:50 PMAI Evy
05/09/2026, 2:50 PMclient_id and client_secret, requests access tokens from the Cognito token endpoint, manages token expiration/refresh, and calls your protected API Gateway endpoint with the Authorization: Bearer <access_token> header
3. **Configure Retell to call your wrapper**: Add your wrapper API URL as a custom function endpoint in the Retell dashboard [(1) ]() [(2) ]()
4. **Verify requests from Retell**: Use the X-Retell-Signature header to verify that incoming requests to your wrapper are actually from Retell [(1) ]()
This approach keeps your OAuth credentials and token logic completely outside Retell, in an environment you control with proper secret management (AWS Secrets ManaAI Evy
05/09/2026, 2:50 PMAI Evy
05/09/2026, 2:50 PM