# Get WhatsApp Profile Names

## Get WhatsApp Profile Names

<mark style="color:blue;">`GET`</mark> `https://api.wapim.io/api/v1/whatsapp/pushnames`

#### Headers

| Name                                    | Type | Description        |
| --------------------------------------- | ---- | ------------------ |
| Token<mark style="color:red;">\*</mark> |      | YOUR\_WAPIM\_TOKEN |

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

```json
{
    "pushnames": [
        {
            "number": "908503461870***",
            "pushname": "Bazen Defter"
        },
        {
            "number": "****",
            "pushname": "Başakşehir Özdamla MTSK"
        },
        {
            "number": "****",
            "pushname": "Başakşehir Özdamla Şb."
        }
        // ...
        // Stripped 
    ]
    "count": 1134
}
```

{% endtab %}
{% endtabs %}

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

```bash
curl
    -X GET https://api.wapim.io/api/v1/whatsapp/pushnames
    -H 'Token: YOUR_WAPIM_TOKEN'
```

{% endtab %}

{% tab title="NodeJS" %}

```javascript
const axios = require('axios');

axios
  .get(
    'https://api.wapim.io/api/v1/whatsapp/pushnames',
    {
     headers: {
      token: 'YOUR_WAPIM_TOKEN',
     }
    }
  )
  .then(response => console.log(response.data))
  .catch(error => console.log(error.response.data))
```

{% endtab %}
{% endtabs %}
