# Connect to Netbox REST API

**URL:** <https://community.postman.com/t/connect-to-netbox-rest-api/87558>\
**Category:** Help Hub\
**Tags:** variables, authentication\
**Created:** [December 17, 2025, 5:37am UTC](https://community.postman.com/t/connect-to-netbox-rest-api/87558 "2025-12-17T05:37:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raamo0261](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@raamo0261](https://community.postman.com/u/raamo0261)\
**Post date:** [December 17, 2025, 5:37am UTC](https://community.postman.com/t/connect-to-netbox-rest-api/87558/1 "2025-12-17T05:37:54Z")

</div>

## Connect to Netbox REST API

I came across with a problem to use Netbox REST API. And here is how I overcome that;

So in order to use Netbox API you need to add Authentication to your requests.

In your request go to `` Authorization `` tab and select `API Key` from the _TYPE_ menu

in the boxes you need put : `Authorization` for **Key**

`Token {Netbox API token }` for **Value**

and **Add to** `Header`

---

<div class="post-metadata">

**Author:** ![priyanshipankhaniya2](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@priyanshipankhaniya2](https://community.postman.com/u/priyanshipankhaniya2)\
**Post date:** [January 2, 2026, 12:18pm UTC](https://community.postman.com/t/connect-to-netbox-rest-api/87558/2 "2026-01-02T12:18:47Z")

</div>

> [@raamo0261](#):
>
> ## Connect to Netbox REST API
> 
> I came across with a problem to use Netbox REST API. And here is how I overcome that;
> 
> So in order to use Netbox API you need to add Authentication to your requests.
> 
> In your request go to `Authorization` tab and select `API Key` from the _TYPE_ menu
> 
> in the boxes you need put : `Authorization` for **Key**
> 
> `Token {Netbox API token }` for **Value**
> 
> and **Add to** `Header`

This is actually one of the most common mistakes beginners face while working with NetBox APIs — thanks for pointing it out 👍

For anyone still getting **401 Unauthorized** errors, here’s the exact way to fix it in Postman:

1️⃣ Open your request in Postman  
2️⃣ Go to the **Authorization** tab  
3️⃣ Select **Type → API Key**  
4️⃣ Fill the fields as:

| Field | Value |
| --- | --- |
| **Key** | Authorization |
| **Value** | Token `<YOUR_NETBOX_API_TOKEN>` |
| **Add to** | Header |

After this, your request headers will automatically include:

```auto

```

```auto
Authorization: Token YOUR_NETBOX_API_TOKEN

```

Now your GET/POST/PUT requests should work without authentication errors 🚀  
Super helpful tip — this will save a lot of debugging time for newcomers!
