Docs API Client Variables & Auth

Variables & Auth

Use collection-level variables and auth inheritance across your API clusters.

Variable System

Variables let you reuse values across requests. Define them at the cluster level and reference them with {{variableName}} anywhere — URL, headers, params, body, or auth fields.

Defining Variables

Open your cluster's Overview tab (or select a request with the VAR method) to manage variables as key-value pairs:

base_url = https://api.example.com
api_token = your-token-here
version = v2

Using Variables

In any request field, type {{base_url}}/users and VortexHQ will resolve it to https://api.example.com/users at send time.

Variables are resolved recursively — a variable can reference another variable.

Authentication

Each request supports four auth modes:

ModeDescription
InheritUses the auth setting from the parent cluster. This is the default.
NoneNo authentication header sent.
Bearer TokenAdds Authorization: Bearer {token} header.
Basic AuthAdds Authorization: Basic {base64(user:pass)} header.

Auth fields support variable interpolation: {{api_token}}. Cluster-level auth is set in the cluster Overview tab and inherited by all requests unless overridden.

Last updated 12 hours ago