FerryDocs
ArchitectureSecurity model

API tokens

An API token is the proof that the CLI, scripts and CI send with each request.

Edit on GitHub
CLIScript or CIServerferry.dbSHA-256 only

A program sends its token in a header with each request.

1 / 4

The , scripts and prove their identity with an . A token is fy_ and then 40 .

Create a token

In the dashboard, open Server → Account. Give the token a name. An expiry is optional.

The dashboard shows the token one time, when you create it. The server stores only its hash. The list shows the last 4 characters of each token and the time of its last use.

Send a token

Terminal
curl -H "Authorization: Bearer $FERRY_TOKEN" http://127.0.0.1:7878/api/v1/services

A token has full access. Read What a token can do.

On this page