Verify registration code
POST/v1/auth/registration-code-verification
Verify registration code
This endpoint validate a user's registration code during the sign-up process. It receives the email code, then the server checks if the provided code matches the one stored in the session and whether it has expired within a two-minute window. A successful validation returns a 200 status code, indicating the code is valid.
Request
- application/json
Body
required
emailCode stringrequired
sessionId stringrequired
Responses
- 200
- 400
The registration code is valid
The registration code is invalid
Loading...