# Curl register meeting participant

**URL:** <https://devforum.zoom.us/t/curl-register-meeting-participant/33488>\
**Category:** API and Webhooks\
**Created:** [October 16, 2020, 4:38pm UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488 "2020-10-16T16:38:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![r21](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@r21](https://devforum.zoom.us/u/r21)\
**Post date:** [October 16, 2020, 4:38pm UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/1 "2020-10-16T16:38:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 19, 2020, 6:46pm UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/2 "2020-10-19T18:46:38Z")

</div>

Hey @r21,

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:

```auto
  --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"}]}'

```

Let me know if this helps!

Best,  
Will

---

<div class="post-metadata">

**Author:** ![r21](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@r21](https://devforum.zoom.us/u/r21)\
**Post date:** [October 20, 2020, 11:08am UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/3 "2020-10-20T11:08:44Z")

</div>

i didnt get very far, and thing i am doing wrong ?

curl --url [https://api.zoom.us/v2/meetings/{9326585xxxx}/registrants](https://api.zoom.us/v2/meetings/%7B9326585xxxx%7D/registrants) --header ‘authorization: Bearer {eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6IlVPQlJNWDVpUmcyZjhaVGxxQll4d1EiLCJleHAiOjE2MDM3OTY3MjcsImlhdCI6MTYwMzE5MTkyN30.XiISAhnbB4Q4BA9f4JqF8IWC0kHpbmP9z\_some\_removed}’ --header ‘content-type: application/json’ --data ‘{“[email":"xxxxxxx@gmail.com](mailto:email%22:%22xxxxxxx@gmail.com)”,“first\_name”:“ZT”,“last\_name”:“api”}’

{“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

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 20, 2020, 9:08pm UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/4 "2020-10-20T21:08:16Z")

</div>

Hey @r21,

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:

> **[Add Meeting Registrant - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate)**
>
> Register a participant for a meeting.
> 
> Prerequisite:
> 
> Host user type must be "Licensed".
> 
> Scopes: meeting:write:admin meeting:write
> Rate Limit Label: L...

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/9/5990af1ed144328a07e56584fcb37597a341e60d.png)

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![r21](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@r21](https://devforum.zoom.us/u/r21)\
**Post date:** [October 21, 2020, 2:02am UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/5 "2020-10-21T02:02:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![r21](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@r21](https://devforum.zoom.us/u/r21)\
**Post date:** [October 21, 2020, 2:03am UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/6 "2020-10-21T02:03:48Z")

</div>

are the {} required for {token} and {meetingid} ?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 21, 2020, 5:14pm UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/7 "2020-10-21T17:14:50Z")

</div>

Hi @r21,

The curly brackets should not be included for the Meeting ID—it should be something like this:  
`/meetings/1234567778/registrants`

Please try making this adjustment. If you’re still have trouble, you can shoot us an email at [developersupport@zoom.us](mailto:developersupport@zoom.us) with those additional details.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![r21](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@r21](https://devforum.zoom.us/u/r21)\
**Post date:** [October 22, 2020, 1:52am UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/8 "2020-10-22T01:52:06Z")

</div>

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 ?

[https://zoom.us/w/9326xxxxxxx?tk=XDjctJkv5zCwJeNHmFZ8\_AycpgpSWYvh-Zj0Brf5uuU.DQIAAAAVtxQNPBZsQ1gxZ3Bib1EwS0tTU21jdVZFNWJBAAAAAAAAAAAAAAAAAAAAAAAAAAAA&pwd=MVlVUUN6Z3V3bxxxxxxxxxxxxxx](https://zoom.us/w/9326xxxxxxx?tk=XDjctJkv5zCwJeNHmFZ8_AycpgpSWYvh-Zj0Brf5uuU.DQIAAAAVtxQNPBZsQ1gxZ3Bib1EwS0tTU21jdVZFNWJBAAAAAAAAAAAAAAAAAAAAAAAAAAAA&pwd=MVlVUUN6Z3V3bxxxxxxxxxxxxxx)

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

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 22, 2020, 6:44pm UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/9 "2020-10-22T18:44:58Z")

</div>

Hi @r21,

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](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants)

This will return their `join_url` in the response:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/c/fca4a595461791aafad2ca9578300b2f3cc7ab46.png)

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](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants). 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:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/5/251fb2f6200a01a6eb1bb4eefe56edaae65f3290.png)

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 22, 2020, 4:45am UTC](https://devforum.zoom.us/t/curl-register-meeting-participant/33488/10 "2020-11-22T04:45:00Z")

</div>

Closed on November 22, 2020, 4:45am UTC

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