---
title: "Prevalidate the end user's email address before saving the end user"
method: GET
path: "/v2/partition/{partitionId}/account/{accountId}/user/prevalidate/email/{email}"
tags: ["End User"]
---

# Prevalidate the end user's email address before saving the end user

`GET /v2/partition/{partitionId}/account/{accountId}/user/prevalidate/email/{email}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}/user/prevalidate/email/{email}`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/user/prevalidate/email/:email/get.ts> (a function with typed inputs; its response is checked against the schema)

Use to prevalidate the email address. If the user hasn't been created yet, use as is. If the User already exists, provide qualified query param `userId`.

## Path parameters

- `accountId` string, required
- `email` string, required
- `partitionId` string, required

## Query parameters

- `userId` string

## Response `200`

Successful operation

## Other responses

- `400`: Invalid partition or account ID supplied
- `401`: Unauthorized
- `404`: Entity not found.

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
