POST
Finish security setup
The final step. Once the user has set up a passkey or 2FA, send the session_token to exchange it for the full set of tokens. This ends the SECURITY_SETUP_REQUIRED flow.
If neither a passkey nor 2FA is set up yet, you’ll get 403 SECURITY_SETUP_NOT_COMPLETE. Complete one of the two paths first.

Headers

x-program-id
string
required

Identifies the program. Can also be sent as the programId query parameter.

Body

application/json
session_token
string
required
Example:

"3f1c2e8a-9b4d-4e6f-8a1b-2c3d4e5f6a7b"

Response

Tokens

success
boolean
Example:

true

data
object

Returned when login is fully complete.