# Zoom API to check health and issue on the device

**URL:** <https://devforum.zoom.us/t/zoom-api-to-check-health-and-issue-on-the-device/95966>\
**Category:** API and Webhooks\
**Created:** [September 28, 2023, 2:19pm UTC](https://devforum.zoom.us/t/zoom-api-to-check-health-and-issue-on-the-device/95966 "2023-09-28T14:19:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgorbea](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jgorbea](https://devforum.zoom.us/u/jgorbea)\
**Post date:** [September 28, 2023, 2:19pm UTC](https://devforum.zoom.us/t/zoom-api-to-check-health-and-issue-on-the-device/95966/1 "2023-09-28T14:19:54Z")

</div>

I am able to connect to the Zoom API using the following script

```auto
$tokenResponse = Invoke-WebRequest -Uri "https://zoom.us/oauth/token" -Method POST -ContentType 'application/x-www-form-urlencoded' -Body @{
    grant_type='account_credentials'
    account_id=$AccountID
} -Headers @{
    Host='zoom.us'
    Authorization="Basic $clientidandsecretconvertedbase64"
}

if ($tokenResponse.StatusCode -eq 200) {

    $tokenData = ConvertFrom-Json $tokenResponse.Content
    $accessToken = $tokenData.access_token
    $listRoomsUrl = "$baseUrl/rooms"

    $headers = @{
        "Authorization" = "Bearer $accessToken"
    }

    # Send the GET request to list rooms
    $listRoomsResponse = Invoke-WebRequest -Uri $listRoomsUrl -Headers $headers -Method Get
$roomsData = ConvertFrom-Json $listRoomsResponse.Content
}

```

I am looking for data that shows me the health of the device for the Zoom Rooms. I was only able to see the status of the room but not the Health or Issue of the room. Any idea what URL has this information so I can create a teams webhook to alert when status is “Critical”. Here is the screenshot of the dashboard of what I am trying to find :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/2/22fc136996a4df3ff54c0432588f397eb7335eb0.png)

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 2, 2023, 2:29pm UTC](https://devforum.zoom.us/t/zoom-api-to-check-health-and-issue-on-the-device/95966/2 "2023-10-02T14:29:20Z")

</div>

Hi @jgorbea  
Thanks for reaching out to us!  
Unfortunately, as of right now, we do not have an endpoint that will allow you to get this information.  
Feel free to make a feature request for it here:

> **[Feature Requests](https://devforum.zoom.us/c/feature-requests/23)**
>
> Have an API or SDK feature request? Share it here!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 3, 2023, 2:29pm UTC](https://devforum.zoom.us/t/zoom-api-to-check-health-and-issue-on-the-device/95966/3 "2023-10-03T14:29:49Z")

</div>

Closed on October 3, 2023, 2:29pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
