Save, organize, and share your API requests with collections.
Hoppscotch helps you to organize your API requests with collections. You can create collections and add requests to them to share with your team or to use later. You can also import and export collections from Hoppscotch, OpenAPI, and Postman.You can access the collections by clicking the “Collections” icon on the side panel.
To create a new collection, click on the “Add new” button on the collections section and enter the name of the collection. You can also create a sub-collection by clicking on the “Add new” button on the desired collection and entering the name of the sub-collection.
To add a new request to your collection, you can click on the “Save” button on the request page and select the collection you want to add it to. Click on the drop-down menu next to the save button and click on “Save as” to save the request to a new location.
You can also use the keyboard shortcut Ctrl/Cmd + S to save the request to a collection.
You can organize your collections by dragging and dropping them to the desired location. You can also create sub-collections by dragging and dropping a collection into another collection.
Collection properties enable you to define settings that universally apply to all requests within the collection.At the collection level, you can configure:
Authorization
Headers
Variables
Subfolders and individual requests within the collection inherit these properties by default and can override them when needed.To set collection properties:
Right-click on a collection or a subfolder within a collection to open its properties.
Specify the authorization, headers, and variables that all nested requests or folders should adhere to.
If a subfolder should inherit the properties of a parent collection, specify the authorization as “inherit” and leave headers unchanged. Variables inherit automatically—override by redefining the same variable in the child.