Verify Email
curl --request POST \
--url https://api.app.shinzo.ai/auth/verify_user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"verification_token": "<string>"
}
'Authentication
Verify Email
Verify a user’s email address using the verification token.
POST
/
auth
/
verify_user
Verify Email
curl --request POST \
--url https://api.app.shinzo.ai/auth/verify_user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"verification_token": "<string>"
}
'Verify Email
Verify a user’s email address using the token sent via email during registration.Authentication
No authentication required.string
required
User’s email address
string
required
Token from the verification email
Example Request
curl -X POST https://api.app.shinzo.ai/auth/verify_user \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"verification_token": "abc123def456..."
}'
Response
{
"message": "Email verified successfully. You can now log in."
}
Status Codes
| Code | Description |
|---|---|
200 | Email verified successfully |
400 | Invalid request (missing fields, invalid token) |
404 | User not found |
Notes
- Verification tokens are single-use and expire after a set period
- If the token has expired, use the Resend Verification endpoint to request a new one
- Users cannot log in until their email is verified

