Saltar al contenido principal

Register v1 Explorer - Step 1

Test the user registration v1 endpoint - Send verification code to email.

POST/auth/register

Description

Send 6-digit verification code to email to start registration process

Parameters

Email address for the new user

Responses

1010 Response

Verification code sent successfully - Token valid for 10 minutes.

4006 Response

Missing required data - Email field is missing or invalid format.

4002 Response

The email is already registered - User already exists in the system.

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