Email Verification API
Preview free verification email templates and API examples, then sign in to create project keys for time-bound codes.
keyEmail Verification API Keys
| Key Name | Key Value | Created Date | Actions |
|---|---|---|---|
| Loading keys... | |||
mail_outlineEmail Preview
Your verification code for WebsiteName
Enter the code below to finish verifying your account.
This code expires in 300 seconds.
If you did not request this code, you can safely ignore this email.
API_KEY="la_your_api_key_here"
BASE_URL="https://launchalways.com"
# 1. Send verification email
SEND_RESPONSE=$(curl -sS -X POST "$BASE_URL/api/v1/email-verifications/send" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"code": "482913",
"expiresInMs": 300000,
"language": "en"
}')
printf '%s\n' "$SEND_RESPONSE"
EMAIL_ID=$(node -e 'const fs = require("node:fs"); const body = fs.readFileSync(0, "utf8"); console.log(JSON.parse(body).emailId);' <<< "$SEND_RESPONSE")
# 2. Check a submitted verification code
curl -sS -X POST "$BASE_URL/api/v1/email-verifications/$EMAIL_ID" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"code": "482913"
}'
# 3. Query sent verification record
curl -sS "$BASE_URL/api/v1/email-verifications/$EMAIL_ID" \
-H "Authorization: Bearer $API_KEY"Free email code API preview
Add verification codes to a project
Preview the email verification API, code examples, and localized verification email templates before creating a project API key for time-bound email codes.
More context
The API is built for lightweight product launches that need account verification, invite flows, waitlists, or secure action confirmation without wiring a separate email-code service from scratch.
Common API workflows
- Send verification codesCreate short-lived email codes and send localized templates from your project API key.
- Check submitted codesValidate a user's submitted code against an email verification record before completing signup or account changes.
- Query delivery recordsLook up sent verification records so your app can show reliable account or support states.
Email verification API FAQ
Can I view the email verification API docs without signing in?
Yes. The public page links to the full API documentation and shows code examples. Signing in is only required to create project API keys.
What can I customize in the verification email?
You can preview localized templates and use a project name or website name in the sender and subject context.
When should I use this API instead of a full auth provider?
Use it when you already have an app flow and only need time-bound email codes for verification, invites, waitlists, or sensitive actions.