# User's Api request not giving exact response as per the documentation (missing fields custom attributes from the response))

**URL:** <https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846>\
**Category:** Users and Groups\
**Created:** [December 29, 2022, 3:46am UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846 "2022-12-29T03:46:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![appflowpersistent](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@appflowpersistent](https://devforum.zoom.us/u/appflowpersistent)\
**Post date:** [December 29, 2022, 3:46am UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/1 "2022-12-29T03:46:10Z")

</div>

**User API endpoint’ response not providing custom attributes in the response**  
endpoint: [https://api.zoom.us/v2/users?status=active&include\_fields=custom\_attributes](https://api.zoom.us/v2/users?status=active&include_fields=custom_attributes)

**Description**

- We are trying to retrieve the data for custom attributes for the users, but the response is something weird we are unable to get the response for the field even after using the include fields in the request param, is there something which we are missing or is it the behavior of custom attributes in the specific version?

Errors:  
No Error messages

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 30, 2022, 9:30pm UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/2 "2022-12-30T21:30:59Z")

</div>

> [@appflowpersistent](#):
>
> the response is something weird

Can you share an example of the response that you’re seeing?

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 31, 2022, 4:29pm UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/3 "2022-12-31T16:29:40Z")

</div>

@MaxM @appflowpersistent You need to add custom attributes from `-> User Management -> Users -> Advance -> Add Custom Attributes For Users` and then update that custom attribute value from the user update (PATCH) request.

Then request `-> https://api.zoom.us/v2/users?include_fields=custom_attributes`.

There will be custom\_attributes in response e.g 👇

 ![Screenshot 2022-12-31 at 9.34.48 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/a/5a0cbacff7f72b1a7b0306c0c9c666a5ec60a74e.jpeg)

---

<div class="post-metadata">

**Author:** ![appflowpersistent](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@appflowpersistent](https://devforum.zoom.us/u/appflowpersistent)\
**Post date:** [January 2, 2023, 12:43pm UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/4 "2023-01-02T12:43:27Z")

</div>

Hi Max,

Please find the below response which we are getting, we have tried to update existing data with the custom attributes from the PATCH request but still we are not able to get the response for the custom attributes:  
{  
“id”: “aLtcWIaqRYqR75aLI-WA0w”,  
“first\_name”: “test”,  
“last\_name”: “Sandhya”,  
“email”: “\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*@gmail.com”,  
“type”: 1,  
“pmi”: 3615137486,  
“timezone”: “Asia/Calcutta”,  
“verified”: 1,  
“dept”: “”,  
“created\_at”: “2022-02-17T08:59:21Z”,  
“last\_login\_time”: “2022-04-14T09:24:16Z”,  
“group\_ids”: [  
“\_1oly78rTPaMGmq\_31PPOw”,  
“Lyp\_ehYEQvuWfxva1LtGLg”,  
“TSfAAoD3QNKBJsFOe8ozKg”,  
“aYOiHs9gRx2sZNsMeVwXng”,  
“q-iNvyZmSBy70-qanJGB6g”,  
“ammYtn2VS5ClnieKP0Ee2A”,  
“wJroKd8LT5qFrmup4hOzkA”  
],  
“language”: “en-US”,  
“status”: “active”,  
“role\_id”: “1”,  
“user\_created\_at”: “2022-02-17T08:57:51Z”  
}

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 2, 2023, 1:06pm UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/5 "2023-01-02T13:06:28Z")

</div>

Hi @appflowpersistent, do you have added custom\_attributes from account settings, as I mentioned  
👇

> [@freelancer.nak](#):
>
> You need to add custom attributes from `-> User Management -> Users -> Advance -> Add Custom Attributes For Users`

?

_ **B/c you can only update custom\_attributes value not add those using Patch reques** _t.

Then you can update the values of custom\_attributes by patch request. And then request with `?include_fields=custom_attributes` 👇

> [@freelancer.nak](#):
>
> [https://api.zoom.us/v2/users?include\_fields=custom\_attributes](https://api.zoom.us/v2/users?include_fields=custom_attributes)

You will have custom\_attributes in response e.g 👇

![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/2/e212f2d6e10015f8e138e5cd4d048f0816ca83e6.jpeg)  
**Note** : **When you are updating (PATCH request) custom\_attributes without pre-manually added then there will be nothing happened to your account.**

If still any problem please share. Thanks

---

<div class="post-metadata">

**Author:** ![appflowpersistent](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@appflowpersistent](https://devforum.zoom.us/u/appflowpersistent)\
**Post date:** [January 4, 2023, 6:03am UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/6 "2023-01-04T06:03:09Z")

</div>

Hi Naeem,

It worked, able to get the data now.

Thanks & Regards,  
Nipun Agrawal

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 9, 2023, 9:16pm UTC](https://devforum.zoom.us/t/users-api-request-not-giving-exact-response-as-per-the-documentation-missing-fields-custom-attributes-from-the-response/80846/7 "2023-01-09T21:16:03Z")

</div>

Closed on January 9, 2023, 9:16pm UTC


