When a meeting completes we get a webhook with the meeting ID. If you query the past meeting end point with that meeting ID there are no results. A few seconds to a minute later the past meetings end point will return results for that meeting id.
It seems that the transaction of the meeting is not being committed before the webhook is being sent. It would be very helpful if the meeting id was available when we get the webhook.