Documentation · API reference
POST
/api/v1/me/second-step/startPost second start
This page as Markdown, or in an AI chatMore ways to read this page
# Post second start
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/post-me-second-step-start
`POST /api/v1/me/second-step/start`
## The answer
200, `SecondStepStart`: A second step being set up: the secret for an authenticator app.
- `secret` (string, needed): The secret, in the letters an app takes when typed.
- `url` (string, needed): The same as an address an app opens.
## Asking
```sh
curl -X POST https://tidekeeper.eu/api/v1/me/second-step/start \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN"
```
The answer
Status 200
SecondStepStart A second step being set up: the secret for an authenticator app.
- secret
- stringneededThe secret, in the letters an app takes when typed.
- url
- stringneededThe same as an address an app opens.
Asking
curl -X POST https://tidekeeper.eu/api/v1/me/second-step/start \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
const answer = await fetch("https://tidekeeper.eu/api/v1/me/second-step/start", { method: "POST", headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, }, }).then((r) => r.json());