# Bearer Token

> A token that works for whoever holds it. It is sent in a header.

**Field:** Software Development  
**Category:** Auth  
**Also known as:** Bearer, Bearer Authentication, Authorization: Bearer

## Think of it like

Think of it like cash. Whoever holds the note can spend it, no questions asked.

## Definition

A bearer token is an access token that works for whoever holds it, with no other proof. It is sent in a header that reads Authorization: Bearer, followed by the token. The server checks the token itself, not who sent it. That makes it simple to use, but a stolen one works just as well for the thief. So bearer tokens are only ever sent over HTTPS.

## Example

Jack's script sends Authorization: Bearer with his token. Copied to a stranger's machine, the same line would work just as well.

## Example code

```console
$ curl -H "Authorization: Bearer $TOKEN" https://api.example.com/orders
```

The token travels in the header, and holding it is the only proof.

## Why it matters

Most web APIs use bearer tokens, so knowing the header is how you call them.

## Common mistake

Sending a bearer token over plain HTTP. Anyone on the network can read it and use it.

## Three principles

- **Holder wins.** No other proof.
- **In a header.** Authorization: Bearer.
- **HTTPS only.** Or it can be read.

## Related terms

- [Access Token](https://learn.benibix.com/term/development/access-token)
- [HTTP Header](https://learn.benibix.com/term/infrastructure/http-header)
- [HyperText Transfer Protocol Secure (HTTPS)](https://learn.benibix.com/term/infrastructure/https)
- [API Key](https://learn.benibix.com/term/development/api-key)

---

Source: https://learn.benibix.com/term/development/bearer-token
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
