Authentication
Resend the email verification link or code
POST
Access: Public, no token needed.
Issues a fresh verification link, or a fresh 4-digit code valid for 15 minutes when isMobile is true, and emails it. Always answers 200 with a generic message, whether the email is unknown, already verified, or actually sent, to prevent email enumeration. The new token or code replaces the previous one, which stops working. The email is sent before the response, so a mail-server failure surfaces as a 500. The mobile app calls this after a sign-in is rejected with errorData.code = EMAIL_NOT_VERIFIED.
application/json- body
email*stringEmail address of the account to verify.
Format
emailisMobile?booleanSend true from the mobile app to receive a 4-digit code instead of a link.
- Web request (link flow)
- Mobile request (
isMobile: true, code flow)
application/json- response
status*integersuccess*booleanmessage*stringdata*unknowncurl -X POST 'http://localhost:4000/api/v1/auth/resend-verification' \ -H 'Content-Type: application/json' \ -d '{ "email": "adaeze.okonkwo@example.com", "isMobile": true}'Example Response
{ "status": 200, "success": true, "message": "If that email exists and is unverified, a new verification link has been sent.", "data": null}
HomeLink Hub