Meeting.created event id is of type int and not string

Description/Error
We have a chatbot type application which is subscribed to various events. For all events like meeting.started, meeting.participant_joined, meeting.sharing_started etc, the event.payload.object.id is of type string. But for event of type meeting.created, event.payload.object.id is of type int. Is this intentional or a bug?

See two examples below:

{
  "event": "meeting.started",
  "payload": {
    "account_id": "35OVrJQuQOCWqKbk9Fq4Pg",
    "object": {
      "duration": 0,
      "start_time": "2019-07-29T21:38:21Z",
      "timezone": "America/New_York",
      "topic": "Prashant Saraswat’s Personal Meeting Room",
      "id": "5612769390",
      "type": 4,
      "uuid": "aKPqtvldQfmqvcue2Oqq4g==",
      "host_id": "D9-XqQhkTV-luPedj3ATKA"
    }
  }
}
{
  "event": "meeting.created",
  "payload": {
    "account_id": "35OVrJQuQOCWqKbk9Fq4Pg",
    "operator": "prashant@thetalake.com",
    "operator_id": "D9-XqQhkTV-luPedj3ATKA",
    "object": {
      "uuid": "IGJHFx9jQtGRF9DEdGo0Lg==",
      "id": 136159095,
      "host_id": "D9-XqQhkTV-luPedj3ATKA",
      "topic": "Prashant Saraswat's Zoom Meeting",
      "type": 2,
      "start_time": "2019-08-20T17:00:00Z",
      "duration": 30,
      "timezone": "America/Los_Angeles"
    }
  }
}

Hey @ps40, thanks for posting.

Yes this does seem like a bug.

I will have our engineers take a look!

Thanks,
Tommy

That was superfast. Many thanks.

1 Like

Zoom Speed! Thank you for letting us know! :slight_smile:

I have notified our engineers and will keep you updated on the fix! Ticket 104425

Thanks,
Tommy

Hey @ps40,

We have updated our docs to display the correct types.

This is intentional.

Thanks,
Tommy