does anyone have a curl example on how we can register participants into a meeting ?
i just need registration of firstname and email.
i have been cutting and pasting into the meeting registration link, very painful because there is a captcha to “click”, i am very familiar now with what palm trees, taxis, chimneys , bicycles and motorbikes looks like
If you want to add registrants to a meeting, you can do so programmatically via our Add Meeting Registrants API endpoint. Here is an example cURL request:
--url https://api.zoom.us/v2/meetings/%7BmeetingId%7D/registrants \
--header 'authorization: Bearer {token}' \
--header 'content-type: application/json' \
--data '{"email":"myemail@mycompany.com","first_name":"Mike","last_name":"Brown","address":"123 Main ST","city":"San Jose","country":"US","zip":"95550","state":"CA","phone":"111-444-4444","industry":"Tech","org":"IT","job_title":"DA","purchasing_time_frame":"More Than 6 Months","role_in_purchase_process":"Influencer","no_of_employees":"1-20","comments":"Excited to host you.","custom_questions":[{"title":"Favorite thing about Zoom","value":"Meet Happy"}]}'
{“code”:124,“message”:“Invalid access token.”}curl: (6) Could not resolve host:
Bearer
curl: (6) Could not resolve host: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiO
m51bGwsImlzcyI6IlVPQlJNWDVpUmcyZjhaVGxxQll4d1EiLCJleHAiOjE2MDM3OTY3MjcsImlhdCI6M
TYwMzE5MTkyN30.XiISAhnbB4Q4BA9f4JqF8IWC0kHpbmP9z0IXwZ5j2_Y’
curl: (6) Could not resolve host: application
Can you confirm that you’re using a valid Meeting ID and that your token is still valid? If those are both fine, please also double check that you meet the prerequisites for this endpoint:
yes i am using a valid meeting id
yes the token is still valid
yes i am licensed
can you drop me an email privately i will share the meeting id and token
it works … it is the curl on windows, the command needs more punctuation
{
“registrant_id”: “lCX1gpboQ0KKSxxxxxxxxxxxxxx”,
“id”: 93265xxxxxxxxxx,
“topic”: “xxxxxxxxxxx 2020 - Session 2 - Room 2”,
“start_time”: “2020-10-30TxxxxxxxxxxxxxZ”
}
is there another curl command to get the join meeting link ?
it would be helpful to download this link because some participants email filters out the zoom emails, and we would like to send it to them using alternative means like sms
I believe we connected over email already, but just in case, cross posting here.
If you’re referring to the link a registrant received to register for a meeting, you can query this by calling the following endpoint: List Meeting Registrants API
The only parameter you’ll need to pass to make a GET request to this endpoint is the meeting ID for which the users are registered.
You can generate a code sample for this request using our embedded Postman tool here. Just enter the meeting ID where the red box is, your auth token, and click “Code Generation” from the tabs at the top. cURL is one of the pre-populated options to select: