Endpoint
Authentication
This endpoint requires theRESEND_TOKEN environment variable to be configured on the server.
Request
Body parameters
The recipient’s email address
The email subject line
The verification URL to include in the email (typically contains the verification token)
Response
Success response
Success message: “Email sent”
Response data from Resend API containing the email ID
200 OK
Error responses
Error description
Additional error details from Resend (when applicable)
400 Bad Request
Examples
Send verification email
Success response
Error responses
Missing email
Missing verification URL
Resend API error
Email template
The verification email uses a custom React Email template (VerificationEmail) that includes:
- Noteverse branding
- Clear call-to-action button
- Verification URL link
- Professional styling
@react-email/render before being sent through Resend.
Implementation details
- Sender:
Noteverse <noteverse@falah.in> - Service: Resend email API
- Format: HTML rendered from React components
- Runtime: Next.js API route
Configure your Resend account and verify the sender domain before using this endpoint in production.
Use cases
- Email verification: Send verification links to new users after signup
- Password reset: Send password reset links (requires additional implementation)
- Notifications: Send important account notifications
Security considerations
See also
Signup endpoint
See how signup triggers verification emails
Verify endpoint
Complete the verification flow
Environment variables
Configure RESEND_TOKEN
Authentication
Learn about the full auth flow