# Zoom webhook notifications, receiving different json types

**URL:** <https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970>\
**Category:** API and Webhooks\
**Created:** [August 24, 2020, 2:51pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970 "2020-08-24T14:51:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ps40](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@ps40](https://devforum.zoom.us/u/ps40)\
**Post date:** [August 24, 2020, 2:51pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/1 "2020-08-24T14:51:13Z")

</div>

**Description**  
We have one app running in production which is receiving webhook notifications where the duration is of type string. See example below:  
{“event”:“meeting.ended”,“payload”:{“account\_id”:“t1Dv-o8mQzK56C1hAoBSlQ”,“object”:{“duration”:“0”,“start\_time”:“2020-08-24T07:09:05Z”,“end\_time”:“2020-08-24T07:09:07Z”,“topic”:“AQIL ALGHAMDI’s Personal Meeting Room”,“id”:“3154675765”,“type”:“4”,“uuid”:“vlgZ2rDPTuiABvoiY0VtuA==”,“host\_id”:“gUykRDzORQmTS\_0dkOgh2Q”}}}

I also tested this on my local but here I get the duration as type int:  
{“event”:“meeting.ended”,“payload”:{“account\_id”:“TUWsvHGOTO2\_uieYoHskzg”,“object”:{“duration”:0,“start\_time”:“2020-08-24T14:38:58Z”,“timezone”:“America/New\_York”,“end\_time”:“2020-08-24T14:39:32Z”,“topic”:“Prashant Saraswat’s Personal Meeting Room”,“id”:“3454782326”,“type”:4,“uuid”:"/ZfYlY5AQSiZOdL8JlZbfA==",“host\_id”:“EyYbEualQp-GQ6L8PlFkfA”}}}

This means that the json deserialization fails on our end in at least on case. Please advise.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 27, 2020, 5:50pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/2 "2020-08-27T17:50:31Z")

</div>

Hey @ps40,

Thanks for sharing this. Our engineering team is looking into the issue. I will get back to you with updates. (ZOOM-191044)

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 28, 2020, 5:09pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/3 "2020-08-28T17:09:39Z")

</div>

Hey @ps40,

We have fixed this issue for future webhooks. 🙂

Apologies for the inconvenience.

-Tommy

---

<div class="post-metadata">

**Author:** ![ps40](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@ps40](https://devforum.zoom.us/u/ps40)\
**Post date:** [August 28, 2020, 5:46pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/4 "2020-08-28T17:46:43Z")

</div>

Many thanks for the quick response.

---

<div class="post-metadata">

**Author:** ![ps40](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@ps40](https://devforum.zoom.us/u/ps40)\
**Post date:** [August 31, 2020, 2:40pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/5 "2020-08-31T14:40:40Z")

</div>

Hello,

Today the json type changed for a different field - ‘Type’. This used to be ‘int’. Today we got a ‘string’.

Thanks  
{  
“event”: “meeting.ended”,  
“payload”: {  
“account\_id”: “-KCo993oROCupK37IywJfA”,  
“object”: {  
“duration”: “0”,  
“start\_time”: “2020-08-31T12:56:05Z”,  
“timezone”: “GMT+8:00”,  
“end\_time”: “2020-08-31T13:00:21Z”,  
“topic”: “Evens Guey’s Personal Meeting Room”,  
“id”: “5943968374”,  
“type”: “4”,  
“uuid”: “kIQJX1gyTSKGdozp8OIBOw==”,  
“host\_id”: “pbzNO7kLSBCFCxwi3fJYTA”  
}  
}  
}

---

<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:** [August 31, 2020, 8:38pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/6 "2020-08-31T20:38:26Z")

</div>

Hey @ps40,

Thanks for letting us know! Our engineers are looking into this—we’ll let you know as soon as we have an update.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 3, 2020, 5:28pm UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/7 "2020-09-03T17:28:54Z")

</div>

Hey @ps40,

We will be releasing a fix for the `type` type this month.

Thanks,  
Tommy

---

<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 4, 2020, 3:29am UTC](https://devforum.zoom.us/t/zoom-webhook-notifications-receiving-different-json-types/27970/8 "2020-10-04T03:29:03Z")

</div>

Closed on October 4, 2020, 3:29am UTC

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