# Webinar Updated Webhook has different occurrence ids

**URL:** <https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812>\
**Category:** API and Webhooks\
**Created:** [January 31, 2020, 6:38am UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812 "2020-01-31T06:38:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![n.fragkos](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@n.fragkos](https://devforum.zoom.us/u/n.fragkos)\
**Post date:** [January 31, 2020, 6:38am UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/1 "2020-01-31T06:38:04Z")

</div>

**Description**  
The updated object has new occurrence ids. Thus i cannot sync the changes to my database since the occurrence ids are now different. Also retrieving the webinar via the API, its not containing the agenda of each individual occurrence.

{  
“event”: “webinar.updated”,  
“payload”: {  
“account\_id”: “oDWsAMHRQ96N9\_IupFcEPw”,  
“operator”: “[marketing@tickmill.com](mailto:marketing@tickmill.com)”,  
“operator\_id”: “g7Nw97wvSKKaREFtbyJBRw”,  
“scope”: “all”,  
“object”: {  
“id”: 453839130,  
“duration”: 120,  
“agenda”: “my description all”,  
“occurrences”: [  
{  
“occurrence\_id”: “1580407200000”,  
“start\_time”: “2020-01-30T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580493600000”,  
“start\_time”: “2020-01-31T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580580000000”,  
“start\_time”: “2020-02-01T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580666400000”,  
“start\_time”: “2020-02-02T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580752800000”,  
“start\_time”: “2020-02-03T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580839200000”,  
“start\_time”: “2020-02-04T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580925600000”,  
“start\_time”: “2020-02-05T18:00:00Z”,  
“duration”: 120,  
“status”: “available”  
}  
]  
},  
“old\_object”: {  
“id”: 453839130,  
“duration”: 60,  
“agenda”: “my description”,  
“occurrences”: [  
{  
“occurrence\_id”: “1580410800000”,  
“start\_time”: “2020-01-30T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580497200000”,  
“start\_time”: “2020-01-31T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580583600000”,  
“start\_time”: “2020-02-01T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580670000000”,  
“start\_time”: “2020-02-02T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580756400000”,  
“start\_time”: “2020-02-03T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580842800000”,  
“start\_time”: “2020-02-04T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
},  
{  
“occurrence\_id”: “1580929200000”,  
“start\_time”: “2020-02-05T19:00:00Z”,  
“duration”: 60,  
“status”: “available”  
}  
]  
},  
“time\_stamp”: 1580395076424  
}  
}

**Error**  
Not an error.

**Which App?**  
Webinar Webhooks

**How To Reproduce (If applicable)**  
Steps to reproduce the behaviour:  
Select to update all occurrences of a recurring webinar.

**Screenshots (If applicable)**  
I have added a webhook request payload as an example.

## **Additional context**

---

<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:** [January 31, 2020, 5:04pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/2 "2020-01-31T17:04:53Z")

</div>

Hey @n.fragkos,

I am guessing this is for a [recurring webinar](https://support.zoom.us/hc/en-us/articles/216354763-How-to-Schedule-A-Recurring-Webinar).

If so, it is intended that each occurrence has a different `occurrence_id` and only one description / agenda.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![n.fragkos](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@n.fragkos](https://devforum.zoom.us/u/n.fragkos)\
**Post date:** [February 4, 2020, 1:13pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/3 "2020-02-04T13:13:37Z")

</div>

Hi @tommy. Please check the object and old\_object. The date of the occurrences is the same but the ids changed.

---

<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:** [February 4, 2020, 5:27pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/4 "2020-02-04T17:27:32Z")

</div>

Hey @n.fragkos,

I see you are getting the object from the [webinar.updated webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/webinar-events/webinar-updated).

Where are you getting the old\_object from?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![n.fragkos](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@n.fragkos](https://devforum.zoom.us/u/n.fragkos)\
**Post date:** [February 5, 2020, 1:12pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/5 "2020-02-05T13:12:43Z")

</div>

Hi,

The webinar updated webhook contains the old object.

Thanks,  
Nikolas

---

<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:** [February 5, 2020, 5:00pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/6 "2020-02-05T17:00:13Z")

</div>

Hey @n.fragkos,

Apologies for misunderstanding. It appears the start\_time’s are all unique so the webinar IDs are all different.

What did you change when updating the webinar?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![n.fragkos](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@n.fragkos](https://devforum.zoom.us/u/n.fragkos)\
**Post date:** [February 6, 2020, 7:37am UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/7 "2020-02-06T07:37:16Z")

</div>

Hi,

I edited a recurring webinar and on save I pressed to apply the changes to All occurrences.

However I noticed that when you select to apply the changes to all occurrences it applies the changes to the occurrences that haven’t changed individually. I hope this is clear.

Thanks,  
Nikolas

---

<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:** [February 6, 2020, 7:30pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/8 "2020-02-06T19:30:26Z")

</div>

Hey @n.fragkos,

The webinar ID won’t change so you can use that to sync with your database.

> [@n.fragkos](#):
>
> it applies the changes to the occurrences that haven’t changed individually.

Can you explain this more? I am having a hard time understanding.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![n.fragkos](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@n.fragkos](https://devforum.zoom.us/u/n.fragkos)\
**Post date:** [February 7, 2020, 8:10am UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/9 "2020-02-07T08:10:28Z")

</div>

The webinar does not change but the get webinar API doesn’t return the individual agendas for occurrences.

Assume we created A recurring webinar with O1, O2, O3, O4 occurrences. Editing O1 occurrence and changing its agenda then O1 has a different agenda with the rest of the occurrences and the get webinar API doesn’t contain its different agenda.

![Screenshot 2020-02-07 at 09.59.36](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/b3ed34065026e7044e129aab26c7320bb90aa0c2.png)  
Moreover editing all occurrences (when press edit on an occurrence and click Edit All), as a result we end up O1 having different agendas with O2, O3 and O4 because the edit All option doesn’t apply the changes to individually changed occurrences.

---

<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:** [February 7, 2020, 5:49pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/10 "2020-02-07T17:49:50Z")

</div>

I see thanks @n.fragkos

To get the updated agenda, have you tried setting the occurrence ID query param for the [Get Webinar endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinar#request-parameters)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![n.fragkos](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@n.fragkos](https://devforum.zoom.us/u/n.fragkos)\
**Post date:** [February 11, 2020, 7:40am UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/11 "2020-02-11T07:40:00Z")

</div>

Hi,

No i didn’t set the occurrence id because I will have to do it for every occurrence and usually there will be plenty. It will cause performance issues. It would be nice if the API supported multiple occurrence ids.

Thanks,  
Nikolas

---

<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:** [February 11, 2020, 5:31pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/12 "2020-02-11T17:31:04Z")

</div>

Hey @n.fragkos,

True. I will talk to the team about improving this.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:25pm UTC](https://devforum.zoom.us/t/webinar-updated-webhook-has-different-occurrence-ids/7812/13 "2020-08-21T19:25:42Z")

</div>

Closed on August 21, 2020, 7:25pm UTC


