Collections
Creating a New Collection
You can create a new collection in multiple ways:
- From the menu:
File → New → New Collection
- Or use the keyboard shortcut:
- Windows/Linux:
Ctrl + N
- Mac:
Cmd + N
- Windows/Linux:
Snapshot: New Collection Options
In the popup, simply enter a name and an optional description, then click Save.
Snapshot: Collection Details Dialog
Collection-Level Environment Variables
RestIt supports collection-level environment variables that can be inherited by all requests within the collection. But first, you'll need to create a profile.
Creating a Profile
When creating a new collection:
- Click the
+
button in the environment section. - Give the profile a name (e.g.,
Dev
,Production
). - Click Save.
Alternatively, for an existing collection:
- Right-click the collection in the sidebar.
- Select
View/Edit
.
Snapshot: export menu option
Managing Profiles & Variables
Once you've created a profile, you can define environment variables within it. You can create multiple profiles, but only one active profile is used at a time.
All requests in the collection can access the variables from the currently selected profile.
This makes it easy to switch environments and reuse credentials or endpoints efficiently across your API workflows.