Re-send the email-verification message
const url = 'https://api.aetherpush.com/v1/auth/resend-verification';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"adrian@aetherpush.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.aetherpush.com/v1/auth/resend-verification \ --header 'Content-Type: application/json' \ --data '{ "email": "adrian@aetherpush.com" }'Sends a new verification email to an account that has not yet verified its email. To prevent enumeration, the response is the same generic message regardless of whether the email matches an existing unverified account.
Rate limits:
- 3 requests per IP per 60 minutes.
- 1 verification email per account per 60 seconds.
- 5 verification emails per account per 60 minutes.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Example
{ "email": "adrian@aetherpush.com"}Responses
Section titled “Responses”Generic confirmation message.
object
Example
{ "message": "If an unverified account exists with this email, a verification link has been sent.", "emailSent": true}Email missing.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "Email is required.", "requestId": "req_abc123"}Too many requests, or per-account cooldown active.
Returned with HTTP 429 when an endpoint-specific rate limit is hit.
retryAfterSeconds indicates how long the client should wait
before retrying.
object
Examples
IP-level limit hit
{ "error": "Too many requests. Please try again later.", "retryAfterSeconds": 3600, "requestId": "req_abc123"}Per-account 60-second cooldown
{ "error": "Please wait at least 60 seconds before requesting another verification email.", "retryAfterSeconds": 60, "requestId": "req_abc123"}Internal server error.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}