Gather Gather Lines Sign in Get started

Start here

Authentication

One bearer token per account.

Every request carries a bearer token in the Authorization header.

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.

1# Authentication
2
3> One bearer token per account.
4
5Every request carries a bearer token in the `Authorization` header.
6
7```http
8GET /v1/gather/lines/number/list
9Authorization: Bearer gk_live_2f9c...
10```
11
12## Accounts
13
14Tokens are issued per account, and the token alone says which account a request is for. A line
15that is not yours reads as `404`. Test tokens (`gk_test_`) only see sandbox lines.
16
17## Idempotency
18
19Send `Idempotency-Key` on every `POST`. Retrying an order with the same key returns the
20original order instead of creating a new one.
21
22> **CAUTION** Never put a token in source, a ticket or a chat. Rotate it if it leaks.
23
$ curl -s https://lines.gatherat.ai/docs/authentication.md
200 OK · text/markdown; charset=utf-8 · 633 bytes
# 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 …