AuthnAuthzAPI
Get Started
Get Started
  1. Registration & Onboarding
  • Overview
  • Registration & Onboarding
    • Register a new user
      POST
    • Verify email address
      POST
    • Resend verification code
      POST
  • Authentication
    • Login user
      POST
    • Logout user
      POST
    • Request a password reset email
      POST
    • Verify password reset token
      POST
    • Update password
      POST
    • Refresh access token
      POST
    • Get current authenticated user
      GET
  • OAuth Authentication
    • OAuth authentication
      GET
    • OAuth callback
      GET
  • Session Management
    • Get all sessions
      GET
    • Revoke session
      DELETE
    • Revoke all sessions
      DELETE
  • Profile Management
    • View profile information
      GET
    • Update profile information
      PATCH
  1. Registration & Onboarding

Resend verification code

Developing
POST
/auth/resend-verification
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
Headers

Bodyapplication/json

🟠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 'http://localhost:3000/api/v1/auth/resend-verification' \
--header 'Content-Type: application/json' \
--data '{
    "user_id": "8e5a996bfa9bd5d293f011bb"
}'
Response Response Example
200 - Example
{
    "status": "success",
    "message": "A verification code has been sent to your email address."
}
Modified at 2026-05-16 22:07:35
Previous
Verify email address
Next
Authentication
Built with