First run

Base URL: $PUBLIC_API

Record an explicit exit before sign-in

Logs

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.

Body application/json

run_tokenstring · required

Opaque run token

step_idstring · required
journey_idstring · optional

Only for the public route

Returns

204 Exit recorded

Errors 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"
}'
Response 204

Exit recorded