# Get Engagements Endpoint does not return all variables

**URL:** <https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732>\
**Category:** API and Webhooks\
**Tags:** api, contact\_center\
**Created:** [March 11, 2025, 7:50pm UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732 "2025-03-11T19:50:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LukasR](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lukasr/32/55506_2.png) [@LukasR](https://devforum.zoom.us/u/LukasR)\
**Post date:** [March 11, 2025, 7:50pm UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732/1 "2025-03-11T19:50:24Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
/contact\_center/engagements  
/contact\_center/engagements/_{engagementId}_

**Description**  
There are 56 variables to an engagement, and we can make custom global variables that tie into engagements. I see no way of returning or grabbing these variables via the API. Is there a way to grab X variables along with an engagement? For example, city, country, consumer email.

This is detrimental to web chats since we want to record this information, yet there’s no way to grab it.

---

<div class="post-metadata">

**Author:** ![alexm](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexm/32/67701_2.png) [@alexm](https://devforum.zoom.us/u/alexm)\
**Post date:** [March 12, 2025, 1:31am UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732/2 "2025-03-12T01:31:10Z")

</div>

I don’t have a specific answer for you, but I’d recommend inspecting the response headers for your request, as that’s where Zoom stashes their x-variables (i.e., if you’re using a Medium rate limit endpoint, the only way to see your current limit usage is by inspecting `response.headers["x-ratelimit-usage"]`). I suspect that may be where you’ll find what you’re looking for. Let me know if this helped!

---

<div class="post-metadata">

**Author:** ![LukasR](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lukasr/32/55506_2.png) [@LukasR](https://devforum.zoom.us/u/LukasR)\
**Post date:** [March 13, 2025, 8:36pm UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732/3 "2025-03-13T20:36:06Z")

</div>

While helpful, it isn’t quite what I’m looking for. Honestly, this may turn into a feature request that I’ll submit seperately.

It seems like there is no handy way to grab all of the information tied to Engagements through the API, but there is a roundabout way to do so by sifting through all of the Variable Logs through the Variables API. I found this just yesterday.

I appreciate the response Alex.

---

<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:** [March 15, 2025, 1:03am UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732/4 "2025-03-15T01:03:17Z")

</div>

Hey @LukasR  
Could you confirm if you are getting all the fields included in the docs?  
Or are you adding those manually in the UI? Note that you will only be getting the variables listed in our docs

---

<div class="post-metadata">

**Author:** ![LukasR](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lukasr/32/55506_2.png) [@LukasR](https://devforum.zoom.us/u/LukasR)\
**Post date:** [March 17, 2025, 12:44pm UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732/5 "2025-03-17T12:44:53Z")

</div>

I can confirm that. I was asking if there was something I was missing that was not easily inferrable or noticeable in the API, but I have since found a work-around.

My problem was that I wanted all of the information tied to an Engagement. This includes all, or some, of the 56 variables tied to an engagement. The Engagement API does not do this in any way, shape, or form. It only includes some default information shown in the docs. I had to use the Variable Logs in order to grab this information, which takes a much lengthier amount of time.

I’ll just be turning this into a feature request and closing the forum post. I appreciate the replies.

---

<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:** [March 18, 2025, 12:44pm UTC](https://devforum.zoom.us/t/get-engagements-endpoint-does-not-return-all-variables/129732/6 "2025-03-18T12:44:53Z")

</div>

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