Saltar al contenido principal

Verify Email Code Explorer

Complete login authentication with email verification code.

POST/auth/login/verify

Description

Verify 6-digit code sent by email to complete login for users without 2FA. Requires session token from /auth/login.

Parameters

6-digit verification code from email
Session token from /auth/login response (UUID)

Responses

1008 Response

OTP code is valid - Returns access token and refresh token. Authentication complete.

4005 Response

Invalid verification code - Code incorrect or does not match.

4003 Response

The OTP code has expired - Code validity is 10 minutes.

4006 Response

Missing required data - Code or token field missing.

4015 Response

Invalid session token - Token not found or already used.

Test Request
https://www.swapbits.site/api
curl -X POST "https://www.swapbits.site/api/auth/login/verify" \
  -H "Content-Type: application/json"