Zoom API v2 Add registrant to webinar, response 405

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.

<Response [405]>
<bound method Response.json of <Response [405]>>

Which App Type (OAuth / Chatbot / JWT / Webhook)?

Which Endpoint/s?

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 )
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.

Hey @sebalatorre,

To confirm, you are trying to Add a Webinar Registrant?

If so, it is a POST request, not a PUT request.

Let me know if that helps! :slight_smile:


Hahahaha, oh my! sorry about that! Made the change and works perfect now!


1 Like

No worries at all, we are happy to help! :slight_smile:

If you have any other questions feel free to reach out!


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