# Verificar se determinado número tem WhatsApp

<mark style="color:blue;">`GET`</mark> `https://api.astraapi.com/api/contacts/is-on-whatsapp/{{instanceId}}`

#### Path Parameters

| Name                                         | Type   | Description         |
| -------------------------------------------- | ------ | ------------------- |
| instanceId<mark style="color:red;">\*</mark> | Number | Número da instancia |

#### Query Parameters

| Name                                    | Type   | Description                                    |
| --------------------------------------- | ------ | ---------------------------------------------- |
| phone<mark style="color:red;">\*</mark> | String | Telefone que você deseja saber se tem WhatsApp |

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Seu token de segurança |

{% tabs %}
{% tab title="200: OK Se tem WhatsApp ou não" %}

```json
{
    "exists": true,
    "jid": "55799999999@s.whatsapp.net"
}
```

{% endtab %}
{% endtabs %}


---

# 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://docs.astraapi.com/integrando/contatos/verificar-se-determinado-numero-tem-whatsapp.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.
