Set settings (including authentication) once on a folder or, if you’re using Insomnia 13.5 or later, set them on the API Collection using its Auth tab. Then set each request’s authentication type to Inherit from parent.
Insomnia applies settings first from the API Collection, then from each folder (outermost first), then from the request:
-
Authentication: The closest level that sets authentication wins. To inherit it, set the request’s authentication type to Inherit from parent. A request’s own type, including None, overrides inheritance. Requests that inherit OAuth 2.0 share the token stored on the level that owns the configuration.
-
Headers: Insomnia combines headers from every level. When several levels set the same header, it joins the values with a comma. The exception is single-value headers such as Authorization, Content-Type, and Host, where the closest level wins.
-
Scripts: Pre-request and after-response scripts run in the same order: API Collection, then folders, then request.