# Deeply Verify User Exists

<mark style="color:orange;">`POST`</mark> /v3/users/exists

## Request

The details below help you form your HTTP requests to this endpoint.

### Body

You must provide a JSON payload.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>email</td><td>string</td><td>true</td><td>user email</td></tr><tr><td>address</td><td>object</td><td>false</td><td>N/A</td></tr><tr><td>address.street1</td><td>string</td><td>true</td><td>The first line of the address</td></tr><tr><td>address.street2</td><td>string</td><td>false</td><td>The second line of the address</td></tr><tr><td>address.city</td><td>string</td><td>true</td><td>The city of the address</td></tr><tr><td>address.region</td><td>string</td><td>true</td><td>The ISO 3166-2 state/province code of the address</td></tr><tr><td>address.postalCode</td><td>string</td><td>true</td><td>The postal code of the address</td></tr><tr><td>address.country</td><td>string</td><td>true</td><td>The ISO 3166-2 / 3166-3 country code of the address</td></tr><tr><td>phone</td><td>phone</td><td>false</td><td>user phone</td></tr></tbody></table>

## Response

The details below help you understand the responses you could get from this endpoint.

### Samples

Below are samples of responses, with tabs corresponding to returned status code.

{% tabs %}
{% tab title="200" %}

```javascript
{
    "data": {}
}
```

{% endtab %}

{% tab title="400" %}

```javascript
{
    "error": {
        "statusCode": 400,
        "code": "UserAlreadyExists",
        "message": "User already exists with email ex@example.com",
        "data": {}
    }
}
```

{% endtab %}
{% endtabs %}

### Schema

The response's schema is outlined below.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>data</td><td>object</td><td>false</td><td>N/A</td></tr><tr><td>data.addressExists</td><td>boolean</td><td>false</td><td>N/A</td></tr><tr><td>data.emailExists</td><td>boolean</td><td>false</td><td>N/A</td></tr><tr><td>data.phoneExists</td><td>boolean</td><td>false</td><td>N/A</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.flexshopper.com/medusa/3.0-beta/customer/deeply-verify-user-exists.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
