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

# Override Headers

> Modify HTTP headers for outgoing network requests in the browser

The Override Headers command (Command Type: 16) intercepts outgoing browser network requests and applies custom header values, allowing you to override or add specific headers for all subsequent requests.

## Command Type

**Command Type ID:** 16

## Parameters

| Parameter           | Type   | Description                                                                             | Required |
| ------------------- | ------ | --------------------------------------------------------------------------------------- | -------- |
| **overrideHeaders** | object | Key-value pairs of headers to override or add (keys are header names, case-insensitive) | Yes      |
| **timeout**         | number | Timeout in milliseconds                                                                 | Yes      |

## Usage Examples

### Set Authorization Header

```json theme={null}
{
  "command": "override-headers",
  "params": {
    "overrideHeaders": {
      "Authorization": "Bearer %{API_TOKEN}",
      "X-Custom-Header": "scraper-v2"
    },
    "timeout": 5000
  }
}
```

### Override Referer and Accept

```json theme={null}
{
  "command": "override-headers",
  "params": {
    "overrideHeaders": {
      "Referer": "https://www.google.com",
      "Accept-Language": "en-US,en;q=0.9"
    },
    "timeout": 5000
  }
}
```

## Related Commands

* [Web Request](/stream/commands/browser/web-request) - Listen to network request events
* [Fetch Web Request](/stream/commands/browser/fetch-web-request) - Make fetch requests from browser context
