> For the complete documentation index, see [llms.txt](https://docs.wapim.io/_/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wapim.io/_/device/get-device-info.md).

# Get Device Info

## Get Device Info

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

#### Headers

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

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

```json
{
    "status": true,
    "code": 200,
    "data": {
        "instance_id": "436e6b56-d25f-457b-9012-ca792a2055ba",
        "locale": "en_FR",
        "number": "*****",
        "device_id": "*****.0:32",
        "pushname": "WAPIM Test Number",
        "platform": "iphone",
        "connected": true,
        "logged_in": true,
        "webhook_settings": {
            "webhook_url": "CALLBACK_URL"
        }
    }
}
```

{% endtab %}
{% endtabs %}

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

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

{% endtab %}

{% tab title="NodeJS" %}

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

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

{% endtab %}
{% endtabs %}
