### Answer
Based on the available sources, I don't have specific documentation about storing and refreshing OAuth tokens within Retell AI's platform directly.
However, from the Discord discussions, it appears that Retell AI agents can execute calls to external APIs using OAuth 2.0 tokens [(1) ](
) . One community member suggested that you can hard code the client_id and secret in the function call [(2) ](
) [(3) ](
) .
For storing and automatically refreshing OAuth tokens every couple of hours, this would typically need to be handled in your backend infrastructure rather than within Retell AI itself. You would manage the token lifecycle in your own system and pass the current valid token to your Retell AI agent when making API calls.
Check out these potentially useful sources:
- [Custom Function](
)
- [CALLS TO EXTERNAL APIS USING OAUTH 2.0 TOKENS](
)
Would you like a general answer on implementing OAuth token refresh patterns in your backend?