# Searching contacts with downcased user ID does not work

**URL:** <https://devforum.zoom.us/t/searching-contacts-with-downcased-user-id-does-not-work/50986>\
**Category:** API and Webhooks\
**Created:** [May 25, 2021, 12:46pm UTC](https://devforum.zoom.us/t/searching-contacts-with-downcased-user-id-does-not-work/50986 "2021-05-25T12:46:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![indrekj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/indrekj/32/24137_2.png) [@indrekj](https://devforum.zoom.us/u/indrekj)\
**Post date:** [May 25, 2021, 12:46pm UTC](https://devforum.zoom.us/t/searching-contacts-with-downcased-user-id-does-not-work/50986/1 "2021-05-25T12:46:09Z")

</div>

Hi,

This is related to [User ID downcased in `user.presence_status_updated`](https://devforum.zoom.us/t/user-id-downcased-in-user-presence-status-updated/42228)

The conclusion there was that the REST API accepts lower case User ID. I however found an endpoint that does not.

With regular ID:

```
curl --request GET \
  --url 'https://api.zoom.us/v2/contacts?query_presence_status=true&page_size=25&search_key=H2XeDLP_Rhy_3uHI7FLCpQ' \
  --header "authorization: Bearer $ACCESS_TOKEN" | jq

{
  "page_size": 25,
  "next_page_token": "",
  "contacts": [
    {
      "id": "H2XeDLP_Rhy_3uHI7FLCpQ",
      "email": "RETRACTED",
      "first_name": "Indrek",
      "last_name": "RETRACTED",
      "presence_status": "Available",
      "direct_numbers": [
        "+[RETRACTED]"
      ],
      "extension_number": "802"
    }
  ]
}

```

With downcase ID:

```
curl --request GET \
  --url 'https://api.zoom.us/v2/contacts?query_presence_status=true&page_size=25&search_key=h2xedlp_rhy_3uhi7flcpq' \
  --header "authorization: Bearer $ACCESS_TOKEN" | jq

{
  "page_size": 0,
  "next_page_token": ""
}
```

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 26, 2021, 4:49pm UTC](https://devforum.zoom.us/t/searching-contacts-with-downcased-user-id-does-not-work/50986/2 "2021-05-26T16:49:59Z")

</div>

Hi @indrekj,

Thank you for pointing this out! This seems like it is unexpected, I agree. I’ve shared these details with our Engineering team to confirm and will be in touch shortly. (ZOOM-243501)

Best,  
Will

---

<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:** [June 26, 2021, 2:50am UTC](https://devforum.zoom.us/t/searching-contacts-with-downcased-user-id-does-not-work/50986/3 "2021-06-26T02:50:18Z")

</div>

Closed on June 26, 2021, 2:50am UTC

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