Skip to main content

OTP Verification

LearnWay issues cryptographically random 6-digit one-time passwords (OTP) sent via Resend email service with a default 10-minute expiry time.

Send OTP

Dispatches an OTP to a target email address.

Endpoint

Request Body

Response (200 OK)


Verify OTP

Validates that an entered OTP code matches the issued token and has not expired.

Endpoint

Request Body

Response (200 OK)