POST /auth/resend-verification
Resend the email verification link to the user. Use when the user didn’t receive the first email or the link expired.
Endpoint
Section titled “Endpoint”POST /v1/public/projects/:projectSlug/auth/resend-verificationRequest Parameters
Section titled “Request Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
projectSlug | string | ✅ | Your project’s unique slug |
Request Body
Section titled “Request Body”| Field | Type | Required | Description |
|---|---|---|---|
email | string | ✅ | User’s email address |
Example Request Body
Section titled “Example Request Body”{ "email": "user@example.com"}Response
Section titled “Response”Success (200 OK)
Section titled “Success (200 OK)”{ "message": "If your email is not verified, you will receive a new verification link shortly."}A new verification email is sent. The previous token (if any) may be invalidated.
Error Responses
Section titled “Error Responses”| Status Code | Error Code | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Invalid email |
| 404 | USER_NOT_FOUND | No user with this email |
| 429 | RATE_LIMIT_EXCEEDED | Too many resend requests |
| 500 | INTERNAL_SERVER_ERROR | Server error |
Available Hooks
Section titled “Available Hooks”- Event:
auth.email.resend_verification- When: After resend is triggered
- Can do: Track verification reminders, push to monitoring
Configure in Project → Hooks. Learn more about hooks →
Try It Now
Section titled “Try It Now”POST
https://api.aerostack.dev/v1/public/projects/your-project/auth/resend-verificationRelated Endpoints
Section titled “Related Endpoints”- GET /auth/verify-email - Verify email with token
- POST /auth/register - Sign up