I seem to be successfully adding registrants to a webinar using the Zoom API and python. I’ve confirmed this as the registrant is receiving a notification email. Despite the successful email, I don’t see the registrant in the front end view under the “Manage Attendees” section of the webinar page. Intent of the code is to loop through a CSV file and register individuals line by line into an appropriate webinar. Using OAuth.
import requests
import csv
import pandas as pd
import json
api = API_KEY
url = “https://api.zoom.us/v2/webinars/”
input_values = pd.read_csv(REGISTRATION.csv, delimiter=’,’)
headers = {‘content-type’: “application/json”,‘authorization’: "Bearer " + api}
for i in range(len(input_values)):
payload = {‘email’:input_values.email[i],‘first_name’:input_values.first_name[i]}
WebinarID = str(input_values.WebinarID[i])
r = requests.post(url + WebinarID + “/registrants”, data=json.dumps(payload), headers=headers)
print(payload)
print(r.text)
if r.ok:
print(“complete”)
else:
print(“error”)
Hi @tommy I think I figured it out. The demo registrants I was using in my file had different names, but all contained the same email address. As soon as I changed the email address, they appeared as net new on the report. Appreciate the help!