> For the complete documentation index, see [llms.txt](https://docs.boldminded.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boldminded.com/datagrab/docs/extending-datagrab.md).

# Extending DataGrab

You can extend parts of DataGrab's functionality by subscribing to the following hooks:

#### datagrab\_custom\_headers

This hook should return the same array format as the datagrab\_custom\_headers config override. E.g.

```php
6 => [
    'Content-Type: application/json',
    'Authorization: Bearer YOUR_ACCESS_TOKEN'
]
```
