API ReferenceAuth
Re-send the email verification OTP. Rate-limited.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/verify-email/resend"{ "data": { "sent": true, "alreadyVerified": false, "challengeId": "otc_01jq8z6m1n2p3q4r5s6t7u8v9w", "destination": "[email protected]", "channel": "email", "expiresAt": "2026-05-24T19:42:00.000Z", "resendAvailableAt": "2026-05-24T19:33:00.000Z" }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "RATE_LIMITED", "message": "Too many requests — slow down and retry after the indicated delay.", "retryAfterSeconds": 60 }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}Send an OTP to the authenticated user's email for verification. POST
Pulls the destination from the bearer-token user — clients don't need to echo the email. Idempotent: if the email is already verified, the call returns `alreadyVerified: true` and skips sending.
Verify the email OTP and stamp `emailVerifiedAt`. POST
Next Page