Skip to main content
POST
/
api
/
captain
/
auth
/
setup
Complete initial setup
curl --request POST \
  --url http://localhost:63372/api/captain/auth/setup \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "ABC123",
  "password": "your-secure-password"
}
'
{
  "ok": true
}

Body

application/json
code
string
required

One-time setup code displayed on first run

Example:

"ABC123"

password
string
required

Password to set for the Captain dashboard

Example:

"your-secure-password"

Response

Setup complete. Sets captain_session cookie.

ok
boolean
required
Example:

true