Skip to main content
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.
email
string
required
User’s email address
verification_token
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

CodeDescription
200Email verified successfully
400Invalid request (missing fields, invalid token)
404User 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