# Can't set Registration Required using Create Meeting API

**URL:** <https://devforum.zoom.us/t/cant-set-registration-required-using-create-meeting-api/84682>\
**Category:** Meetings\
**Created:** [March 14, 2023, 11:21am UTC](https://devforum.zoom.us/t/cant-set-registration-required-using-create-meeting-api/84682 "2023-03-14T11:21:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuele.nobile](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@samuele.nobile](https://devforum.zoom.us/u/samuele.nobile)\
**Post date:** [March 14, 2023, 11:21am UTC](https://devforum.zoom.us/t/cant-set-registration-required-using-create-meeting-api/84682/1 "2023-03-14T11:21:35Z")

</div>

**POST /users/{userId}/meetings**  
_[https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/meetingCreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/meetingCreate)_

**Description**  
\*I’m trying to create a Zoom Meeting in which there is a required registrations.  
The body I’m using in the request is:  
{  
“agenda”: “”,  
“duration”: 60,  
“default\_password”: false,  
“password”: “123456”,  
“join\_before\_host”: false,  
“mute\_upon\_entry”: true,  
“watermark”: false,  
“start\_time”: “2023-03-02T16:00:00Z”,  
“timezone”: “Europe/Rome”,  
“topic”: “Meeting test 2”,  
“type”: 2,  
“approval\_type”: 0  
}

**Error?**  
The meeting is created but without required registration.

**Notes** :  
I see in the documentation that there are two identical parameters “Type”. How is that possibile?

1. 

type \*

integer

Recurrence meeting types:  
`1` - Daily.  
`2` - Weekly.  
`3` - Monthly.

Allowed: 1┃2┃3

1. 

type

integer

The type of meeting:

- `1` — An instant meeting.
- `2` — A scheduled meeting.
- `3` — A recurring meeting with no fixed time.
- `8` — A recurring meeting with fixed time.

Default: 2

Allowed: 1┃2┃3┃8

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 15, 2023, 4:59pm UTC](https://devforum.zoom.us/t/cant-set-registration-required-using-create-meeting-api/84682/2 "2023-03-15T16:59:08Z")

</div>

Hi @samuele.nobile  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Just by looking at the request body you are sending with your Post request, it looks like you are passing the value of “approval\_type” outside of the settings object.

If you take a look at our Docs, the approval\_type is found within the settings of the meeting:

 ![Screenshot 2023-03-15 at 12.57.25 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/0/20865c2fcbc6552ac9109728b6c690c15b0b22a3.png)

Make sure to fix that in your request.

About the 2 type parameters, one is for the meeting you are scheduling (instant, scheduled, recurring with no fixed time and recurring with fixed time)

The second type parameter is located inside of the recurrence object and it is only used for recurring meetings

Hope this helps,  
Elisa

---

<div class="post-metadata">

**Author:** ![samuele.nobile](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@samuele.nobile](https://devforum.zoom.us/u/samuele.nobile)\
**Post date:** [March 16, 2023, 7:48am UTC](https://devforum.zoom.us/t/cant-set-registration-required-using-create-meeting-api/84682/3 "2023-03-16T07:48:28Z")

</div>

Hi @elisa.zoom ,  
thanks for your fast reply.  
Now it works correctly.

Regards,  
Samuele

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 16, 2023, 6:03pm UTC](https://devforum.zoom.us/t/cant-set-registration-required-using-create-meeting-api/84682/4 "2023-03-16T18:03:41Z")

</div>

Closed on March 16, 2023, 6:03pm UTC


