Description
I’m using Python and JWT to connect to the API. I’m able to get the list of webinars, get a webinar, list the registrants, but when I need to put one (add a registrant to a webinar) it’s returning error 405.
Error
<Response [405]>
<bound method Response.json of <Response [405]>>
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
https://api.zoom.us/v2/webinars/81418702015/registrants’
How To Reproduce (If applicable)
def putWebinarRegistrant(self, webinar_id, first_name, last_name, email):
headers = {
‘Authorization’: "Bearer "+self.encode,
‘content-type’: “application/json”
}
data = {
‘email’: email,
‘first_name’: first_name,
‘last_name’: last_name,
}
response = requests.put(‘https://api.zoom.us/v2/webinars/’+str(webinar_id)+’/registrants’, json=data, headers=headers )
print(response)
return response.json
Additional context
Webinar is setup to allow register. I’ve checked other similar issues in the forum but with no solution to my problem. Also tried with Postman with same results: 405.