---
title: "Enable network interception"
method: POST
path: "/v1/browser/intercept/enable"
tags: ["Browser"]
---

# Enable network interception

`POST /v1/browser/intercept/enable`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/browser/intercept/enable`
- Auth: HTTP bearer

Activates CDP Fetch domain to intercept requests matching mock rules.

## Response `200`

Interception enabled

- object
  - `enabled` true, required

## Other responses

- `409`: Not connected to a browser
- `502`: CDP error
- `503`: Browser service not initialized

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
