# Unable to create zoom meeting with Registration enabled using API V2

**URL:** <https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581>\
**Category:** API and Webhooks\
**Created:** [October 29, 2020, 12:46am UTC](https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581 "2020-10-29T00:46:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinivas\_Yalala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/srinivas_yalala/32/17867_2.png) [@Srinivas\_Yalala](https://devforum.zoom.us/u/Srinivas_Yalala)\
**Post date:** [October 29, 2020, 12:46am UTC](https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581/1 "2020-10-29T00:46:48Z")

</div>

**Description**  
Unable to create meeting with Registration enabled by using below API. We can see Invite Link instead of Registration Link. When edit the meeting created through API, we can see “Registration” checkbox is unchecked. If I check it, I can see Registration Link. Not sure, what is missing in below API to enable Registration Link directly.

I am creating through PHP Programme. Taken this integration programme from here: [Integration PHP API Zoom OAuth](https://devforum.zoom.us/t/integration-php-api-zoom-oauth/23809)

$response = $client-\>request(‘POST’, ‘/v2/users/me/meetings’, [  
“headers” =\> [  
“Authorization” =\> “Bearer $jwt”  
],  
‘json’ =\> [  
“topic” =\> “Test”,  
“agenda” =\> “Test”,  
“type” =\> 2,  
“start\_time” =\> “2020-11-10T15:00:00Z”, //$startTime,  
“duration” =\> “30”, // 30 mins  
“password” =\> “JWT”,  
“approval\_type” =\> 2  
],  
]);

**Error**  
No Error. But it is creating Invite Link instead of registration link.

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

**Which Endpoint/s?**  
/v2/users/me/meetings

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Run the code snipped through browser which is deployed in server
2. Meeting create successfully. I am expecting Registration Link instead of Invite Link.

**Screenshots (If applicable)**  
NA

**Additional context**  
NA

---

<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 29, 2020, 9:01pm UTC](https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581/2 "2020-10-29T21:01:43Z")

</div>

Hey @Srinivas_Yalala,

It sounds like you’re using a custom script, which could be why you’re running into unexpected results. You’re looking to retrieve the link to the registration page for a meeting, right? If so, you can call this endpoint directly:

> **[Get a Meeting - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)**
>
> Retrieve the details of a meeting.
> Scopes: meeting:read:admin meeting:read
> 
> Rate Limit Label: Light
> 
> Authorization
> 
> Flow: authorizationCode
> 
> Authorizat...

If a meeting has registration, the response will include a **registration\_url** field.

Let me know if this helps!

Best,  
Will

---

<div class="post-metadata">

**Author:** ![Srinivas\_Yalala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/srinivas_yalala/32/17867_2.png) [@Srinivas\_Yalala](https://devforum.zoom.us/u/Srinivas_Yalala)\
**Post date:** [October 30, 2020, 3:00am UTC](https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581/3 "2020-10-30T03:00:47Z")

</div>

No. While creating a meeting, I am unable to create with Registration enabled check box. I have found solution with below values and it is working fine.

* * *

$response = $client-\>request(‘POST’, ‘/v2/users/me/meetings’, [  
“headers” =\> [  
“Authorization” =\> “Bearer $jwt”  
],  
‘json’ =\> [  
“topic” =\> $subject,  
“agenda” =\> $description,  
“type” =\> 2,  
“start\_time” =\> $startTimeISO, //“2020-11-10T15:00:00Z”, //$startTime,  
“duration” =\> $difference, //“30”, // 30 mins  
“password” =\> “JWT”,  
“settings” =\> [  
“approval\_type” =\> 0,  
“registration\_type” =\> 1,  
“waiting\_room” =\> true,  
“registrants\_email\_notification” =\> true,  
“meeting\_authentication” =\> false  
]  
],  
]);

* * *

Thanks,  
Srinivas

---

<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 30, 2020, 9:29pm UTC](https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581/4 "2020-10-30T21:29:45Z")

</div>

Hi @Srinivas_Yalala,

I see, thanks for clarifying—glad to hear you figured it out. 🙂

Best,  
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 30, 2020, 7:29am UTC](https://devforum.zoom.us/t/unable-to-create-zoom-meeting-with-registration-enabled-using-api-v2/34581/5 "2020-11-30T07:29:53Z")

</div>

Closed on November 30, 2020, 7:29am UTC

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