Skip to content

Create Verification Token​

POST
/auth/token/login

Create a verification token for email or phone authentication. Sends a verification code via email or SMS. Requires X-Bridge-Secret header.

Authorizations​

BridgeSecret

Bridge secret for backend integration

Type
API Key (header: X-Bridge-Secret)

Request Body​

application/json
JSON
{
  
"identifier": "[email protected]",
  
"type": "email",
  
"redirect_url": "https://example.com/dashboard"
}

Responses​

Verification token created and sent successfully

application/json
JSON
{
  
"success": true,
  
"message": "Verification email sent successfully",
  
"token_id": "tok_abc123"
}

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI