You can use domains in your Insomnia Enterprise account to manage users.
To create a domain:
- Go to Enterprise Controls > Domains and add a new domain.
- Add the generated TXT record to your DNS tool.
- Click Verify Domain.
Once the domain is verified, you can configure its settings to control users with email addresses in that domain.
Use domain capture to automatically add new users to your Insomnia Enterprise account when they sign up with a verified email domain.
To enable domain capture and auto-capture all new employees:
- Add and verify a domain.
- In the domain settings, click the toggle to enable domain capture.
You can enable domain capture on a verified domain only.
When you enable domain capture on a verified domain, all new users that create an Insomnia account with an email address in the domain are automatically added to the Enterprise account. For example:
- Kong uses
@kong.com
and enables domain capture: When Amal@kong.com signs up for Insomnia, the platform automatically adds Amal@kong.com to the Enterprise license and lists the user on the licenses page.
If you add a new user to your Insomnia Enterprise account with no license seats left in your Enterprise plan, then the new user won’t be able to create an account with that domain. To increase the number of seats that you have access to, update your subscription.
Use domain lock to remove access to your Insomnia Enterprise account for existing hobby users and uninvited new users.
To enable domain lock, navigate to Company > Domains, specify the domain, and then click the Lock toggle.
When you enable domain lock on a specific domain, all users from that domain will no longer be able to access your organization’s Insomnia Enterprise account. For example:
-
Existing users without an Enterprise invite: Ariel is an existing hobby user and wasn’t invited to the Enterprise account. Now, when
Ariel@oldkong.com
attempts to sign in to Insomnia with that address, she won’t have access to the Enterprise account.
-
Users without an account, but with a matching email domain: George doesn’t have an Insomnia account, but has an email address
george@DomainLockExample.com
. When George creates an Insomnia account, the domain lock blocks his sign-in, which means that he can’t access the Insomnia Enterprise account or its features.
If you enable both domain capture and domain lock on the same verified domain in Insomnia, then domain capture takes priority for new sign-ups and overrides domain lock.
Use invite control to specify which domains can receive invitations to your Enterprise organizations.
To configure invite control, navigate to Enterprise Controls > Invites and define the rules to apply to your organizations.
You can set your preference for allowing invitations from the following domain types:
-
All domains: Invites to any email domain are accepted which includes personal addresses.
-
Only verified domains: Invites are restricted to domains already added and verified in the Domains section of Enterprise controls.
-
Custom domains: Invites are limited to manually specified domains or sub‑domains for a specific organization, even if those domains are not globally verified.