# Allow List

> Record only the requests that match your Allow List rules. Everything else is still proxied and still works, but never appears in Cloak Proxy's traffic list.

Source: https://docs.subcloak.com/cloak-proxy/tools/allow-list/

The Allow List keeps the traffic list focused. While it's on, Cloak Proxy records only requests that match one of its rules. Everything else still goes through the proxy and still works; it just isn't shown or kept. Use it when you capture the whole Mac but only care about one API.

## Record only one API

1. Right-click a request from the host you care about and choose **Tools › Allow List…**.

   Cloak Proxy creates a rule named after the host that matches every request to it (for example `https://api.example.com/` with subpaths on) and opens it.

2. Add more rules for other hosts or paths you want to see.

3. Turn the Allow List on with the **On**/**Off** switch in its header. **Creating a rule doesn't turn it on.**

4. New requests that don't match any rule no longer appear in the traffic list.

*[Screenshot: The Allow List tool, switched off, with one rule named api.example.com matching any method on https://api.example.com/ with subpaths. An Allow List rule created from a request. The tool stays off until you switch it on.]*

## How the Allow List decides

| Situation | Result |
|---|---|
| The Allow List is off | Every request is recorded. |
| The Allow List is on but has no enabled rules | Every request is recorded. |
| The Allow List is on and a request matches **any** enabled rule | The request is recorded. |
| The Allow List is on and a request matches no enabled rule | The request is proxied as usual but not recorded. |

Rules have only a name and a [matcher](https://docs.subcloak.com/cloak-proxy/tools/rules-and-matching/); there are no other settings. Order doesn't matter. The decision is made from the URL the app sent, before any other tool runs.

## What isn't recorded

A request the Allow List skips:

- Doesn't appear in the traffic list, the sidebar or [Insights](https://docs.subcloak.com/cloak-proxy/insights/overview/).
- Isn't saved in sessions or exports.
- Doesn't trigger [Alerts](https://docs.subcloak.com/cloak-proxy/tools/alerts/), because alerts check recorded requests.

Every other tool still applies to it. A Map Local, Block List or Network Conditions rule changes the request even though you can't see it.

> **Hidden traffic can't be brought back:**
> The Allow List decides at capture time. Requests it skips are never stored, so you can't show them later by turning it off. To hide requests only from view, use [filters](https://docs.subcloak.com/cloak-proxy/inspect/filtering/) instead: they hide rows but keep everything recorded.

## What the Allow List covers

- HTTP requests and WebSocket connections are checked against the rules.
- Encrypted tunnels Cloak Proxy doesn't decrypt still appear in the list.
- Requests you send with [Repeat or Compose](https://docs.subcloak.com/cloak-proxy/tools/repeat-and-compose/) are always recorded.

> **Tip:**
> If the traffic list looks empty, hover **N tools on** in the bottom bar to see whether **Allow List** is active. A forgotten Allow List looks a lot like a capture problem.

## Related

  - [Filtering](https://docs.subcloak.com/cloak-proxy/inspect/filtering/): Hide requests from view without losing them.
  - [Block List](https://docs.subcloak.com/cloak-proxy/tools/block-list/): Stop requests instead of hiding them.
  - [Recording and sessions](https://docs.subcloak.com/cloak-proxy/capture/recording-and-sessions-basics/): Pause recording and clear the session.
  - [Rules and matching](https://docs.subcloak.com/cloak-proxy/tools/rules-and-matching/): Wildcards, regex and subpaths.
