Dealing with timezones on meeting creation

I am trying to set a meeting start_time for a specific timezone but I couldn’t get it working properly.
The start_time that I’m passing in request’s body doesn’t have a ‘Z’ as pointed out by de API docs.

Bellow follows a dump of the request body for meeting creation:

{
   "duration":180,
   "settings":{
      "approvalType":2,
      "hostVideo":true,
      "meetingAuthentication":true,
      "muteUponEntry":true,
      "participantVideo":true,
      "waitingRoom":true
   },
   "startTime":"2021-07-21T08:00:00.000",
   "timezone":"America/Sao_Paulo",
   "topic":"Meeting Topic",
   "type":2
}

Obs: the request keys are shown in camelCase but they’re being hooked and preprocessed to become snake_case.

With this request body the meetings would still appear in the web interface as GMT time even with the user’s timezone beeing ‘America/Sao_Paulo’

More info about the app:

  • App Type: JWT
  • endpoint: /users/{userId}/meetings

Hey @luizgribeiro,

Can you try trimming the additional ms 000 from your date-time? I think this may be throwing the request off, as we support HH:MM:SS only.

Please keep in mind that the API response will always be in GMT as well.

Let me know if this helps,
Will

Hey Will,

Thanks for pointing out this.
My app is working as it should now!

Great, glad I could help! :slight_smile:

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