Using this template helps us debug your issues more effectively
Description
I’m trying to create a meeting using zoom api with python requests module. And this is how my codes looks like:
my_headers = {“Authorization”: “Bearer MY_JWT_TOKEN”}
query = {
“topic”: “Test 01”,
“type”: 2,
“start_time”: “2022-01-02T01:00:00Z”,
“duration”: 30,
“schedule_for”: “myemail@gmail.com”,
“timezone”: “Europe/Berlin”,
“password”: “12345”,
“agenda”: “This is just for test”,
“settings”: {
"host_video": False,
"participant_video": False,
"cn_meeting": False,
"in_meeting": False,
"join_before_host": True,
"mute_upon_entry": True,
"watermark": False,
"use_pmi": False,
"approval_type": 2,
"audio": "both",
"auto_recording": "none",
"alternative_hosts": "",
"global_dial_in_countries": [
""
],
"registrants_email_notification": True
}
}
response = requests.post(“https://api.zoom.us/v2/users/me/meetings”, headers=my_headers, params=query)
print(response)
Error
I get 400 bad request
Which App Type (OAuth / Chatbot / JWT / Webhook)?
I’m using JWT, the token which zoom uses (it works when I try to get meetings)