AuthnAuthzAPI
  1. Authentication
  • Overview
  • Authentication
    • Register a new user
      POST
    • Verify email address
      POST
    • Resend verification code
      POST
    • Login user
      POST
  1. Authentication

Resend verification code

Developing
POST
/auth/resend-verification-email
Requests the system to generate and send a new email verification code to the userโ€™s registered email address. This endpoint is typically used when the original verification code has expired, was not received, or was accidentally deleted. To prevent abuse, this operation may be subject to rate limiting and cooldown periods between requests.
Constraints:
1.
The user can request one verification code email every 60 seconds.

Request

Body Params application/jsonRequired

Examples

Responses

๐ŸŸข200Success
application/json
Body

๐ŸŸ 400Validation Error
๐ŸŸ 404User Not Found
๐ŸŸ 409Email Already Verified
๐ŸŸ 429Rate Limit Exceeded (code)
๐ŸŸ 429Rate Limit Exceeded
๐Ÿ”ด500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:3000/api/v1/auth/resend-verification-email' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user_id": "8e5a996bfa9bd5d293f011bb"
}'
Response Response Example
200 - Example
{
    "status": "success",
    "message": "A verification code has been sent to your email address."
}
Modified atย 2026-03-07 00:44:22
Previous
Verify email address
Next
Login user
Built with