Documentation · API reference
GET/api/v1/auth/second

What the second step's page shows

What the second step's page shows: who, how they came, and which ways.

Parameters

tokenin the address
needed

The answer

Status 200

SecondView Someone between their first way in and their second step: what its page shows (`/sign-in/second`).

app
booleanneededThe authenticator app is on.
brand
stringThe `brand` of that service, for its mark.
email
stringneeded
first
stringneeded`key` or `app`: which is shown first.
keys
integerneededHow many security keys they have.
via
stringneededThe service they came by ("Google"), empty after a code or a password.

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/auth/second \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/auth/second", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());