Webhook Id Data Type Different Across Events

I’ve noticed that the Id data type is different across Webhook Meeting Events. For example, Id is a String in Participant Joined:
https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting

But is an Integer in Meeting Deleted:
https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-deleted

Is there any reason for this? Is this a mistake?

It just makes it a pain when trying to deserialize the JSON into one object used across all meeting events if the types are different. Is a real shame to create 2 different objects with so many repeated fields just for this one Id field.

Thanks

Ryan

I think this is a error in the docs @anonymind. Thanks for bringing this to our attention!

@shrijana.g, can you take a look at this in the docs and resolve as necessary.

1 Like

@anonymind Hi Ryan,

Sorry for the inconvenience. This is by design (not a doc error) and is definitely frustrating to convert the different formats or look for edge cases while comparing. We will let the engineering team know about it.

I thought that was the case. Thanks for letting me know

You’ve got an extra curly brace on the example JSON on this page: https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-alerted

@anonymind Thanks for letting me know! I have removed the extra curly brace now.