auth

Resend verification email (no auth)

Sends a new verification email to the given email (and optional project). For unauthenticated users who have not verified yet. Rate limited (e.g. 3 per 15 min per IP).

POST/api/auth/resend-verification

Authentication

Public — No Auth Required

Request Body

Email address to resend to; optional `projectId` for project-scoped verification links.

json
{
  "email": "amari_koss69@northwind.dev",
  "projectId": "proj_qh5hFHNT70YZ"
}
{
  "email": "amari_koss69@northwind.dev",
  "projectId": "proj_qh5hFHNT70YZ"
}

SDK setup

Create a client instance. No authentication is required for this endpoint.

import { MudbaseClient } from "mudbase";

const client = new MudbaseClient();
import { MudbaseClient } from "mudbase";

const client = new MudbaseClient();

Example request

Call this endpoint using the client from SDK setup. Use View HTTP for a raw cURL example.

const result = await client.auth.resendVerification({
  email: "lucinda.williamson@northwind.dev",
  projectId: "proj_Rs2Xe5ERZYEs"
});
const result = await client.auth.resendVerification({
  email: "lucinda.williamson@northwind.dev",
  projectId: "proj_Rs2Xe5ERZYEs"
});

Try It Live

Test this endpoint with your own credentials. Your requests will be sent to the live API.

No Request Yet

Send a request to see the full inspector

Responses

200Verification email sent (or generic message to prevent enumeration)
json
{
  "message": "If an account exists and is unverified, a verification email has been sent"
}
{
  "message": "If an account exists and is unverified, a verification email has been sent"
}
400Email required
429Too many requests (rate limit)
500Unexpected server error while sending the verification email.

Errors

CodeMeaning
400Email required
429Too many requests (rate limit)
500Unexpected server error while sending the verification email.
Edit this page on GitHub