Verify OTP — confirm identity

Step 2 of 3. Verify the OTP sent in step 1. On success, the session is marked verified and an account is created if this is a new email. Returns the session ID to use in step 3 (POST /v1/bootstrap/store). Public endpoint — no API key required.

Request

This endpoint expects an object.
sessionstringRequired
Session ID from bootstrap step 1
codestringRequired=6 characters

6-digit OTP code from email

Response

Successful Response
verifiedboolean
True when OTP was verified successfully.
sessionstring

Verified session ID. Pass to POST /v1/bootstrap/store.

object"bootstrap_session"
Object type identifier.

Errors

400
Bad Request Error
422
Unprocessable Entity Error
429
Too Many Requests Error