Variables in Requestly’s API Client let you store and reuse dynamic values, like API keys, base URLs, and user IDs, across your API requests. They help you avoid hardcoding, make your collections more modular, and simplify switching between different environments like development, staging, and production. A variable is a named placeholder you define once and reference anywhere in your API collections using theDocumentation Index
Fetch the complete documentation index at: https://docs.requestly.com/llms.txt
Use this file to discover all available pages before exploring further.
{{variable_name}} syntax.
When you run a request, Requestly replaces each {{variable}} with its actual value based on its scope.
Example: https://{{base_url}}/users/{{user_id}}
If you’ve defined base_url = api.example.com and user_id = 123, the request resolves to - https://api.example.com/users/123

