Quick summary
Environment variables in Postman let you store and reuse dynamic values like API keys and base URLs across requests. This tutorial walks you through creating a new environment variable, setting its type, and saving it to your workspace.
Steps
- In Postman's main workspace, navigate to the left-side panel and click Environments.
- Select the environment where you want to create a new variable.
- In the table preview, click Add a New Variable and type the name of the variable you want to add.
- Click the drop-down menu next to the newly added variable and select a variable type from the available choices.
- Enter initial and current values into their respective input fields if needed.
- Click Save to create and enable the new environment variable.
.gif)


