Method
POST /v1/verify/email/confirm
Body Parameters
Headers
string
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)string
application/jsonDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.voyantcloud.com/v1/verify/email/confirm \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{ "email": "ana@example.com", "code": "583912" }'
await fetch("https://api.voyantcloud.com/v1/verify/email/confirm", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VOYANT_API_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({ email: "ana@example.com", code: "583912" }),
})
import os, requests
payload = {"email": "ana@example.com", "code": "583912"}
resp = requests.post(
"https://api.voyantcloud.com/v1/verify/email/confirm",
headers={
"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}",
"content-type": "application/json",
},
json=payload,
)
result = resp.json()
{ "ok": true }
Validate the code delivered by the email verification challenge.
POST /v1/verify/email/confirm
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/verify/email/confirm \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{ "email": "ana@example.com", "code": "583912" }'
await fetch("https://api.voyantcloud.com/v1/verify/email/confirm", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VOYANT_API_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({ email: "ana@example.com", code: "583912" }),
})
import os, requests
payload = {"email": "ana@example.com", "code": "583912"}
resp = requests.post(
"https://api.voyantcloud.com/v1/verify/email/confirm",
headers={
"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}",
"content-type": "application/json",
},
json=payload,
)
result = resp.json()
{ "ok": true }
/v1/verify/email/start. Implement code persistence and expiry logic in your email challenge workflow before relying on it for customer onboarding.