Skip to content

Start 2FA Challenge​

POST
/auth/two_factor/{method}/start

Resends a verification code for pending or active sessions.

Authorizations​

SessionAuth

Session ID for authenticated requests

Type
API Key (header: X-Session-ID)

Parameters​

Path Parameters

method*
Type
string
Required
Valid values
"email""sms"

Request Body​

application/json
JSON
{
  
"action": "login"
}

Responses​

Challenge started

application/json
JSON
{
  
"success": true,
  
"message": "string",
  
"expires_in": 600
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI