Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.2 KB

resend_verification.md

File metadata and controls

46 lines (32 loc) · 1.2 KB

Resend Verification Endpoint

This endpoint is used to resend the verification code to a user's email address.

Request

Method Endpoint
POST /resend-verification

Body

Field Type Description
email String Email of the user

Example Body

{
  "email": "[email protected]"
}

Response

Success

Status Message
200 Verification code sent

Bad Request

Status Message
400 Email not found
400 Verification code already sent. Please wait x minutes before trying again.

Internal Server Error

Status Message
500 Failed to generate user ID
500 Failed to update user record
500 An error occured sending email