I get back a result and the occurrences show that the API ignored the “Z” on the timestring, and treated my time string as a PST value instead of a UTC value. I don’t know how the API knew I am located in PST.
My suggestion would be to specify dates and times in your desired timezone (PST in your scenario) and also specify the name of the time zone in your payload. This way there is no need for you to convert your date/time to UTC and no need for the ‘Z’ in your date format.
One final detail I want to point out: as far as I l know, the Zoom API doesn’t support milliseconds, therefore no need to include ‘.000’ when specifying time.
@Christopher3 To expand on what I said in my previous comment, I ran a quick test where I created a new meeting scheduled for July 22 at 1:50pm west coast time. To do that, I included the following two JSON nodes in my request:
Notice that Zoom respects the time zone I specified and notice that the date/time format has been converted to UTC but it’s important to keep in mind that the value expressed in UTC is exactly the same as the PST value I specified in my request (indeed 8:50 pm in UTC is the same point-in-time as 1:50 pm PST).
One other thing: I previously mentioned that I didn’t think the Zoom API supported milliseconds. Turns out: not only is it not supported, it also appears that specifying milliseconds causes the API to misinterpret date/times as mentioned here.
So the root of the issue you are experiencing is probably that you included milliseconds in your request. Removing the milliseconds probably will resolve the problem you are experiencing.