Skip to content

Start Email 2FA Setup

POST
/auth/two_factor/email/setup

Starts email verification flow and sends a code.

Authorizations

SessionAuth

Session ID for authenticated requests

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

Request Body

application/json
JSON
{
  
"email": "string"
}

Responses

Setup started

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

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI