Guide navigation

Collections

Organizing saved requests into collections and folders — with inherited auth, headers, and variables, import/export, sharing, and bulk find-and-replace.

In this chapter

The Collections panel

Open the Collections panel from the Activity Rail (⌘1). Its header has icon buttons for Find & Replace, Import, Export, Import from share, Manage shares, and New collection, plus the panel’s pin button.

Creating and organizing

  • New collection — the + button (Create a new empty collection.).
  • Add a folder — from a collection’s menu (Add folder); folders can nest with Add sub-folder.
  • ColorSet color… opens a swatch grid (with a hex input and Remove color). Collections group by color in the tree, and a colored collection shows an accent left border.
  • Reorder — drag requests within or between folders (dropping onto a folder auto-expands it), and drag collections to reorder them. Dragging a collection into a different color group adopts that group’s color.

Clicking a collection’s chevron expands it; clicking its name opens its settings tab.

Star any request (its on hover) to pin it under a ★ Favorites section at the top of the panel. The Search requests… box live-filters by name, URL, and method, grouping results by collection and bold-highlighting the match; clicking a result opens it and reveals its folder ancestors.

Collection settings

Clicking a collection name opens its settings tab, with five tabs:

  • Variables — collection-scoped variables (with per-row Secret toggles). These sit between environment and global in the resolution order.
  • Headers — headers applied to every request in the collection; a request’s own header of the same name overrides them.
  • Auth — auth applied to every request unless a folder or request sets its own. See Authorization.
  • Docs — a Markdown editor with an Edit/Preview toggle.
  • Scripts — collection-level Pre-request Script and Tests that run around every request’s own scripts. See Scripts and tests.

Each tab has a Save button that flashes ✓ Saved.

Folder settings

A folder’s Folder settings… modal has Auth, Headers, and Docs tabs. The Auth tab can inherit from parent folders and the collection, showing a summary like Inherits Bearer Token from folder "X". Folder headers apply to every request inside the folder and its sub-folders.

Inheritance

Auth, headers, and variables cascade down the tree. When a request resolves its effective auth or headers, Beacon walks request → nearest folder → parent folders → collection, with the nearest setting winning. A request whose auth is Inherit (or unset) uses the first auth found walking up. This lets you configure a token or a base header once and have every request inside pick it up. The same resolution is used by code snippets, the runner, flows, and load tests.

Request row actions

Hover a request for its star and menu; double-click to rename inline. The / right-click menu offers Open, Rename, Duplicate (creates <name> Copy), Monitor this request (see Monitors), Examples / Hide examples, and Delete.

Examples

A saved request can hold named response examples (saved from the response viewer — see Responses). The Examples submenu lists them; each example can be previewed, turned into a mock route with Generate mock (see Mock, WebSocket, and monitors), or deleted.

Importing

Import (bulk) opens the Import Collections modal with three sources: Select Folder (all .json files in a folder), Select Files (one or more .json files), and Beacon Folder (a git-friendly Beacon collection folder). Beacon auto-detects each file’s format:

  • Postman collections
  • Postman environment / globals exports
  • OpenAPI 3 / Swagger 2 specs — grouped into folders by tag, with examples pulled into request bodies
  • HAR files — each entry becomes a request
  • Beacon bundles — the multi-collection files written by Export; these take one extra step, below

A progress bar shows Importing <n> of <total>…. Results list what imported and what failed, with a collapsible ⚠ Imported with <n> warning(s) section noting anything adjusted (unsupported auth set to none, file fields without a source path dropped, unrecognized items skipped).

Bundles ask where to go. A bundle is recognized as you open it, and rather than landing silently it opens the Import Bundle modal, asking Where should "<name>" be imported? Pick Into a new workspace — the name box is pre-filled with the workspace name the bundle was exported under — or Add to the current workspace, then Import. Select several bundles at once and Beacon asks once per bundle, in turn.

Two things the chooser points out:

  • Global variables, mock routes and flows merge into your app-wide lists either way. Only collections and environments follow your choice of workspace; a new workspace is not an isolated sandbox for the rest.
  • If the bundle was exported with its secrets, a red panel warns that This bundle contains live credentials. Only import files from people you trust.

What landed is then reported in the same results panel as any other import, listing each collection, environment, mock route, and flow by name. Imported flows keep the links to the requests they call, re-pointed at the imported copies — and when they arrive in a new workspace, that is the workspace they run in (Beacon switches you to it as the import finishes). Warnings cover whatever didn’t come across cleanly: a mock route whose method and path already exist, a flow node whose linked request wasn’t in the bundle, and any scripts inside a flow, which are cleared on import so that foreign code can’t run.

Note: Imported collections arrive with scripts untrusted — see the trust gate. Collections from a bundle land the same way.

Exporting

One collection. From a collection’s menu: Export as JSON saves a <name>.postman_collection.json file, and Export as folder writes a git-friendly Beacon collection folder to a directory you pick.

Several at once — a bundle. The header’s Export button opens the Export dialog, which writes any number of collections, plus the things that surround them, into a single .json bundle file. Entire workspace selects the lot in one click; the label beside it reads Custom as soon as your selection is narrower than that.

Tick the collections you want (All collections toggles every one), then choose what travels with them: Environments, Global variables, Mock routes, and Flows. Each shows how many you have, or greys out as (none to export) when there is nothing to include. The button counts your selection — Export (3) — and stays disabled until you pick at least one collection; a large workspace takes a moment, so it changes to Exporting… with a spinner while the file is written. The save dialog suggests beacon-workspace-<workspace>-<date>.json for a whole workspace and beacon-collections-<n>-<date>.json otherwise.

Note: Global variables, mock routes and flows are app-wide, not scoped to this workspace. Entire workspace ships all of them, not only the ones you use here.

Secrets are blanked unless you opt in. With Include secret values off — the default — Beacon empties every value whose position marks it as a credential and keeps the row, so the recipient can see what’s expected and fill in their own: secret-marked collection, environment, and global variables; auth at every level (bearer tokens, basic passwords, API-key values, OAuth secrets and tokens); an API key carried in a URL, query param, or header; secret-marked flow inputs; and credential headers on mock routes. Ticking the box opens a confirmation, Include live secrets in this export?, offering Keep them blanked and Include secrets — dismissing it any other way leaves them blanked.

Warning: Beacon can’t detect a credential hardcoded into a request body or a mock’s response body; those ship verbatim even with secrets blanked. Review before you send a file on. And a bundle exported with Include secrets holds live credentials in plain text — treat it like a password.

Sharing

Beacon can publish a collection as a public share link that anyone can import without an account. Share… (in the menu) creates the link; the header’s Import from share and Manage shares buttons import and revoke shares. The full sharing flow — including what is stripped before publishing — is in Cloud accounts.

Find and replace

Find & Replace (the header button) searches and rewrites across every collection at once. Enter a Find and Replace with term, toggle case-sensitivity (Aa), whole-word (W), or regex (.*), and choose which fields to search: URL, Header key, Header value, Param key, Param value, Body JSON, Body raw, and Include collection variables. Matches are listed grouped by collection with per-match checkboxes. It’s two-phase: Preview replacement shows exactly what will change, then Apply replacement writes it.

Warning: Find & Replace writes directly to your saved requests and collection variables, and cannot be undone automatically. Review the preview before applying.

The script trust gate

Because scripts can read your secrets, collections you didn’t create start untrusted — their pre-request and test scripts do not run. Imported and shared collections both land this way. The menu shows Enable scripts…, which confirms: “Only enable for collections you trust — pre-request and test scripts run inside Beacon and can read your secrets.” Once trusted, the menu shows Disable scripts to revoke it. See Scripts and tests.


See also: Authorization · Variables and environments · Scripts and tests · Collection runner · Cloud accounts

Edit this chapter on GitHub