Environments

Manage variables across different environments and reuse them in your requests.

Environments let you define key-value variables that can be used across requests. Switch between environments from the navbar dropdown to change variable values without modifying your requests.

Creating an Environment

  1. Open the Environments tab in the sidebar
  2. Click New Environment and enter a name
  3. Add variables as key-value pairs
  4. Toggle variables on/off with the checkbox

Using Variables

Access environment variables in your requests using the syntax {{variable_name}}. Variables are resolved in:

  • URLhttps://{{host}}/api/users
  • Headers — value fields
  • Body — JSON or text content
  • Query parameters — value fields
  • Authentication — Bearer token, Basic Auth username/password, API Key values

Switching Environments

Select an environment from the dropdown in the navbar. The active environment's variables are applied to all requests. The sidebar shows the current environment's variables with their resolved values.

Managing Variables

  • Add — Click + Add Variable in the environment modal
  • Edit — Click directly on the key or value to edit inline
  • Toggle — Use the checkbox to enable/disable a variable
  • Delete — Click the delete button next to the variable
On this page