Skip to content

Start SMS 2FA Setup

POST
/auth/two_factor/sms/setup

Starts SMS 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
{
  
"phone": "+15551234567"
}

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