---
title: "Check if an email is registered"
description: "Check whether a user account exists for the given email.\n\nNo authentication required. The optional ``tenant_id`` scopes the lookup\nto a specific GIP tenant."
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Auth API › Auth

`GET /auth/email/exists`

Check whether a user account exists for the given email.

No authentication required. The optional ``tenant_id`` scopes the lookup
to a specific GIP tenant.

## Query parameters

- `email` (`check_email_exists_auth_email_exists_get.query.email`; string, required)
  - format `email`
- `tenant_id` (`check_email_exists_auth_email_exists_get.query.tenant_id`; any of, optional)
  - any of: `string`, `null`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://truememory-auth.mvstg.com/auth/email/exists?email=user%40example.com'
```

### TypeScript

```typescript
const url = 'https://truememory-auth.mvstg.com/auth/email/exists?email=user%40example.com';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-auth.mvstg.com/auth/email/exists?email=user%40example.com"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "email": "string",
  "exists": true
}
```

- `email` (`check_email_exists_auth_email_exists_get.response.200.email`; string, required)
- `exists` (`check_email_exists_auth_email_exists_get.response.200.exists`; boolean, required)

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`check_email_exists_auth_email_exists_get.response.422.detail`; array<object>, optional)
  - `loc` (`check_email_exists_auth_email_exists_get.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`check_email_exists_auth_email_exists_get.response.422.detail.msg`; string, required)
  - `type` (`check_email_exists_auth_email_exists_get.response.422.detail.type`; string, required)
  - `input` (`check_email_exists_auth_email_exists_get.response.422.detail.input`; unknown, optional)
  - `ctx` (`check_email_exists_auth_email_exists_get.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/auth/email/exists/index.md
