-
Notifications
You must be signed in to change notification settings - Fork 5
Authentication
The AUTH tab applies credentials to a request at send time. Pick a type from
the dropdown; the relevant fields appear. Every credential field supports
{{variables}} (see Environments and Variables), so you can keep secrets in
an environment and reference them here.
The request is sent without any auth header or query parameter.
The request uses the auth configured on its parent collection/folder. Useful when a whole folder of requests shares one credential.
- TOKEN field.
- Adds
Authorization: Bearer <token>. - Skipped if the token resolves to empty, or if you already set an
Authorizationheader by hand.
- USERNAME and PASSWORD fields (password is obscured with a reveal toggle).
- Adds
Authorization: Basic <base64(username:password)>(UTF-8). - Skipped only if both username and password are empty after resolution, or if an
Authorizationheader already exists.
-
KEY (the header or query-param name), VALUE (the credential), and ADD TO (
HEADERorQUERY PARAM). -
HEADER(default): adds<key>: <value>unless a header with that name already exists. -
QUERY PARAM: appends<key>=<value>to the query string. - Skipped if the key name is empty (the value may be empty).
A header you write yourself in the Building Requests always wins over the auto-generated auth header (matched case-insensitively). This lets you override the exact header when needed.
Because every field accepts {{...}}, a common pattern is:
- Create an environment (e.g. Production) with
token = abc123. - Set Bearer TOKEN to
{{token}}. - Switch environments to send the same request with different credentials.
Unknown variables are left verbatim (so a missing {{token}} is visible rather than silently blank).
Code Generation reflects your auth choice in the exported snippet (e.g. an Authorization header or a query parameter), keeping {{variables}} un-interpolated so you can substitute them in your own code.
Getman on GitHub · Releases · Live demo · Local-first HTTP client — no account, no cloud, no telemetry.
Start here
Core
Variables & automation
More features
- History
- Cookies
- Realtime WebSocket and SSE
- Code Generation
- Command Palette
- Keyboard Shortcuts
- Auto-Update
Configuration
Project