Confirmation email
POST/v1/auth/confirmation-email
Confirmation email
This endpoint sends a confirmation email to a user during registration or notifies them if their email is already registered. It accepts JSON input with user details, uses session data, and queries database for existing emails. Based on the presence of the email in the database and provided template/locale parameters, it selects an appropriate email template and sends the email. On successful email sending, it returns a salt value for further authentication steps.
Request
Query Parameters
template stringrequired
Email template
locale stringrequired
Email template locale
- application/json
Body
required
email stringrequired
nickname stringrequired
Responses
- 200
- 500
Confirmation email sent
- application/octet-stream
- Schema
Schema
string
Unexpected error
Loading...