PT EN

Primeiros passos

URL base: $PUBLIC_API

Registar a saída antes de entrar

Registos

POST /first-run/abandon

Records an explicit exit from the selected resident journey with the anonymous timing token, the journey ID (resident_link or resident_connection) and the step ID. A token bound to a signed-in identity is refused. Repeats are idempotent.

Corpo application/json

run_tokenstring · obrigatório

Opaque run token

step_idstring · obrigatório
journey_idstring · opcional

Only for the public route

Devolve

204 Exit recorded

Erros 400 · 403

curl -X POST "$PUBLIC_API/first-run/abandon" \
  -H "Content-Type: application/json" \
  -d '{
  "run_token": "run token",
  "step_id": "open_todays_route",
  "journey_id": "resident_link"
}'
Resposta 204

Exit recorded