Project

General

Profile

Actions

Task #1605

open

Epic #1602: Auth API Integration

User Story #1603: Register API Integration

Integrate Register Email Initiation API

Added by Muhammad Fahad 3 days ago. Updated about 17 hours ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
04/13/2026
Due date:
% Done:

0%

Estimated time:

Description

Endpoint
POST /new-auth/register/initiate-email
or confirm exact route from backend if naming differs

Request

{
"email": ""
}

Purpose
Check whether email exists and send OTP to email for verification.

Expected Response Handling

426 → app update required
200 → verification code sent successfully
response includes:
exists
session_id

Acceptance Criteria

Email is validated before API call
If API returns 426, app shows forced update flow
If success, app stores session_id
OTP screen opens after successful initiation
Proper error handling for invalid or already used email

Actions

Also available in: Atom PDF