Two-Factor Authentication

Verify 2Fa

Verify SMS code and complete authentication.

Process:

  1. Validate session token
  2. Verify SMS code with Twilio
  3. If valid, optionally trust device
  4. Return Cognito tokens
post/api/v1/auth/2fa/verify

Request

  • Base URL: https://app.perlucem.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.perlucem.ai/api/v1/auth/2fa/verify
  • Auth: none declared

Request body

session_tokenstring required
codestring required
trust_deviceboolean
device_fingerprintstring nullable
device_namestring nullable

Response

Successful Response

successboolean required
id_tokenstring nullable
access_tokenstring nullable
errorstring nullable
attempts_remaininginteger nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.