> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dovetail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IP allowlist

> Workspace admins can restrict which networks reach the workspace in the browser and through the API, and review blocked requests before enforcing.

> [!NOTE]
>
> Only [workspace admins](https://docs.dovetail.com/help/user-roles.md#grant-admin-access-to-users) can manage the IP allowlist.
>
> The IP allowlist is in beta, and Dovetail turns it on for each workspace. Until then, the **IP allowlist** card doesn’t appear in [Security settings](https://dovetail.com/settings/security). To request access, contact [support@dovetail.com](mailto:support@dovetail.com).

## Overview

The IP allowlist controls which networks can reach your workspace, in the browser and through the API. When the allowlist is enforced, requests from addresses outside your allowed ranges are refused.

Start in a mode that only records what would be blocked. Turn on blocking after you’ve reviewed that record.

This page covers setup in Settings. For the API, decision log exports, and the CSV format, see [IP Allowlist](https://developers.dovetail.com/docs/ip-allowlist) in the developer docs.

***

## Modes

The allowlist has one mode for the whole workspace. To change it, navigate to ⚙️ [Settings → Security](https://dovetail.com/settings/security) and select a mode under **IP restriction mode**.

* **Disabled** — Nothing is checked, and nothing is recorded. This is the default.
* **Report only** — Every request is checked and recorded. Nothing is blocked.
* **Enforcing** — Requests from outside your allowed ranges are refused, and every decision is recorded.

You can’t switch straight from **Disabled** to **Enforcing**. Switch to **Report only** first, so you can review your ranges.

Changes to the mode or to a list take up to one minute to apply.

***

## What the allowlist covers

**What’s covered:** Signed-in browser sessions, the [Dovetail API](https://docs.dovetail.com/integrations/dovetail-api.md), and the [Dovetail MCP server](https://docs.dovetail.com/integrations/mcp-server.md).

**What’s not covered:**

* Dovetail support sessions. When Dovetail support opens your workspace to help you, that access isn’t checked against your allowlist.
* Third-party integrations that connect with OAuth, such as Zapier, plus SCIM provisioning and inbound webhooks.
* [Web links](https://docs.dovetail.com/help/web-links.md) shared publicly.
* File attachments, media, and export downloads. These are served from short-lived signed links, which Dovetail only issues to requests that have passed the allowlist check.

***

## Set up the IP allowlist

### Before you start

* Stay on a network you intend to allow. The card shows **Your current IP address**, which can differ from what your computer reports when you’re on a VPN or behind a proxy.
* Collect the ranges for your offices, your VPN, and any cloud gateways your users or scheduled jobs connect from. Each range is written in CIDR notation, for example `203.0.113.0/24`.

### Switch to Report only

1. Navigate to ⚙️ [Settings → Security](https://dovetail.com/settings/security).
2. Under **IP restriction mode**, select **Report only**.

Nothing is blocked. Dovetail starts recording every request it checks, including the ones it would block. The **Allowed IP ranges** section appears below the mode. It’s hidden while the mode is **Disabled**.

### Replace the allow-all ranges

The **All users** list applies to everyone signed in to the workspace, and to every API key that doesn’t have its own list. It starts with `0.0.0.0/0` and `::/0`, which allow every address. While those ranges are in the list, **Enforcing** blocks nobody.

1. In the **All users** row, enter each of your ranges in **Add a CIDR range**.
2. Add an IPv6 range if your networks use IPv6. Without one, requests from IPv6-only networks are blocked once you enforce. The card warns you when the list has no IPv6 range.
3. Remove `0.0.0.0/0` and `::/0`. Dovetail asks you to confirm each removal.

Each change saves immediately. The **All users** list must keep at least one range.

If a change would block your own address, the card shows **Would block your current IP address** and doesn’t save it. A button such as **Add 203.0.113.7/32 and save** adds your address and saves the change. It adds an IPv4 address as a `/32` range, or an IPv6 network as a `/64` range.

### Review what would have been blocked

Leave **Report only** on through a normal working period, including remote staff and scheduled jobs.

Dovetail records each decision in a decision log. There’s no viewer for it in Settings. You export it as a CSV through the API. Records take about 25 minutes to reach the log, so wait at least that long after a change before you export. See [Export the decision log](https://developers.dovetail.com/docs/ip-allowlist#export-the-decision-log) for the requests.

In the CSV:

1. Filter the `reason` column to `denied_ip_not_in_list`. In Report only mode these requests were allowed, but **Enforcing** would refuse them.
2. Check `src_ip` for the address the request came from. For a request made with an API key, `subject_id` identifies the key.
3. Add the legitimate networks to the right list, then export again.

Stop when the only remaining rows are traffic you intend to block.

> [!TIP]
>
> Filter on `reason`, not `kind`. Nothing is refused in Report only mode, so a request that would have been blocked still has `kind` set to `allow`.

### Switch to Enforcing

> [!WARNING]
>
> Changing the mode doesn’t check your own address. Before you switch, confirm that **Your current IP address** is inside the **All users** list. If it isn’t, your next request is refused.

1. Navigate to ⚙️ [Settings → Security](https://dovetail.com/settings/security).
2. Under **IP restriction mode**, select **Enforcing**.

Anyone outside your ranges then sees a message that access from their network is restricted by the workspace’s IP allowlist, and that they should contact their workspace administrator.

***

## Give an API key its own list

Use this when a personal API key should only work from known machines, such as a build runner.

1. At the bottom of the IP allowlist card, select **Add API key** and choose the key. This button only appears when the mode is **Report only** or **Enforcing**.
2. The key’s list starts as a copy of **All users**. Edit its ranges the same way.

After that, the two lists are independent. Requests made with that key are checked against the key’s own list instead of **All users**. Signed-in users, and API and MCP access through OAuth, always use **All users**.

Your own access is governed by **All users**, so editing a key’s list can’t lock you out. It can cut off the key itself, so check the addresses your jobs connect from. Removing the last range from a key’s list blocks every request made with that key, and Dovetail asks you to confirm this first.

To return a key to **All users**, select `Remove` (the × icon) next to the key and confirm. The key’s own list is deleted.

***

## If someone is locked out

There’s no setting that turns enforcement off for a locked-out admin. A workspace admin on an allowed network can add the missing range, or switch the mode to **Report only** or **Disabled**.

If no admin can reach the workspace from an allowed network, contact [support@dovetail.com](mailto:support@dovetail.com).

To avoid a lockout:

* Confirm that your own address is covered before you switch to **Enforcing**.
* Keep at least two admins on different allowed networks.
* Add IPv6 ranges if your networks use IPv6.

***

## FAQs

> [accordion] Can an API key have its own mode?
>
> No. The mode applies to the whole workspace. An API key with its own list follows the workspace mode.

> [accordion] Does the allowlist apply to Zapier and other OAuth integrations?
>
> No. Third-party integrations that connect with OAuth aren’t checked against the allowlist. API and MCP access through OAuth by a user in your workspace is checked against the **All users** list.

> [accordion] Where are allowlist changes recorded?
>
> Every change to the mode or to a list is recorded in the decision log. A save that doesn’t change anything isn’t recorded.

> [accordion] How long is the decision log kept?
>
> One year. Each export covers up to 31 days, so export regularly if you want a longer record.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.