POST
Complete 2FA
Use this when Log in returns a SOFTWARE_TOKEN_MFA challenge. Send the session_token from that login response and the 6-digit code from the user’s authenticator app. If the code is right, you get your tokens back and the login is complete.
The session_token is short-lived. If the user takes too long, you’ll get a 410 with code SESSION_EXPIRED — start the login again.

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

From the login challenge response.

Example:

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

totp_code
string
required

6-digit code from the authenticator app.

Required string length: 6

Response

Tokens

success
boolean
Example:

true

data
object

Returned when login is fully complete.