> ## Documentation Index
> Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Number on WhatsApp?

> Check if a number has a WhatsApp account

## Overview

This method returns whether a number has WhatsApp or not.

<Tip>
  Use this API whenever you want to check if a number has WhatsApp, usually for form validation. Do not use this API if you want to verify before sending a message, as Z-API already validates the number's existence for each message sent.
</Tip>

***

## Attributes

### Header

<ParamField path="instanceId" type="string" required>
  Your instance ID. Available in the Z-API panel under **Instances**.
</ParamField>

<ParamField path="token" type="string" required>
  Your Z-API instance token.
</ParamField>

### Query Parameters

<ParamField path="phone" type="string" required>
  Contact phone number in DDI DDD NUMBER format. E.g.: 551199999999
</ParamField>

***

## Response

### 200

<ResponseField name="exists" type="boolean">
  Whether the number has WhatsApp
</ResponseField>

<ResponseField name="phone" type="string">
  Formatted number per WhatsApp's response
</ResponseField>

<ResponseField name="lid" type="string">
  WhatsApp's unique private identifier (null if exists = false)
</ResponseField>

```json theme={"theme":{"light":"github-light","dark":"poimandres"}}
[
  {
    "exists": true,
    "phone": "5544999999999",
    "lid": "999999999@lid"
  }
]
```

### 405

Make sure you are correctly sending the method specification, that is, verify that you sent POST or GET as specified at the beginning of this topic.

### 415

If you receive a 415 error, make sure to add the "Content-Type" header to your request, which in most cases is "application/json".
