Skip to main content
Check whether a given email address already has a Nyota Imara account. This endpoint is designed for pre-registration flows — call it as soon as the user finishes typing their email to prevent duplicate-account errors downstream. GET /v1/auth/check-email No authentication required.

Request

email
string
required
The email address to look up. The lookup is case-insensitive.

Example

curl --request GET \
  --url "https://api.nyotaimara.com/v1/auth/check-email?email=jane@example.com"

Response

success
boolean
required
true when the request was processed successfully.
exists
boolean
required
true if an account with the given email already exists, false otherwise.
{
  "success": true,
  "exists": false
}
Error cases
StatusErrorDescription
400Email query parameter is requiredThe email query param is missing or not a string.
500Internal server errorAn unexpected server-side error occurred.