Can't set Registration Required using Create Meeting API

POST /users/{userId}/meetings
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?

type *

integer

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

Allowed: 1┃2┃3

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

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:

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

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

Regards,
Samuele

1 Like