# Authentication

> One bearer token per account.

Every request carries a bearer token in the `Authorization` header.

```http
GET /v1/gather/lines/number/list
Authorization: Bearer gk_live_2f9c...
```

## Accounts

Tokens are issued per account, and the token alone says which account a request is for. A line
that is not yours reads as `404`. Test tokens (`gk_test_`) only see sandbox lines.

## Idempotency

Send `Idempotency-Key` on every `POST`. Retrying an order with the same key returns the
original order instead of creating a new one.

> **CAUTION** Never put a token in source, a ticket or a chat. Rotate it if it leaks.
