You can use scripts to set, get, and unset variables at different scopes (Environment, Global, Local).Environment Variables#
These variables persist in the currently selected environment.Storing Objects/Arrays#
Since variables only store strings, you must stringify objects or arrays before saving them.Global Variables#
Global variables are accessible across the entire project (or team, depending on scope).Local Variables#
Temporary variables valid only for the current request execution.Module Variables#
Variables scoped to the current module (compatible with Postman Collection Variables). Modified atΒ 2026-01-14 09:10:00