# Cannot set registrations as required for meeting through API

**URL:** <https://devforum.zoom.us/t/cannot-set-registrations-as-required-for-meeting-through-api/87085>\
**Category:** API and Webhooks\
**Created:** [April 20, 2023, 11:14am UTC](https://devforum.zoom.us/t/cannot-set-registrations-as-required-for-meeting-through-api/87085 "2023-04-20T11:14:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mileetos](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mileetos/32/47792_2.png) [@mileetos](https://devforum.zoom.us/u/mileetos)\
**Post date:** [April 20, 2023, 11:14am UTC](https://devforum.zoom.us/t/cannot-set-registrations-as-required-for-meeting-through-api/87085/1 "2023-04-20T11:14:08Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**

POST /users/{userId}/meetings  
POST /meetings/{meetingId}/registrants

**Description**

Trying to create a meeting with registration enabled and then create a registration.

**Error?**

```
"data": {
    "code": 404,
    "message": "Registration has not been enabled for this meeting: 82881562772."
}

```

**How To Reproduce**  
_Steps to reproduce the behavior:_  
\*1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** /  
Sending the request for a Licensed user so that should not be a problem.

POST /users/{userId}/meetings request body:  
{  
duration: 60,  
recurrence: { type: 2, end\_times: 3, repeat\_interval: 1 },  
type: 8,  
start\_time: “2023-04-20T10:00:00”,  
approval\_type: 0,  
registration\_type: 1,  
}

[Found one old thread with exactly the same problem](https://devforum.zoom.us/t/add-meeting-registrant-through-api-always-gives-registration-not-enabled-for-this-meeting/26648/5): the proposed request body did not solve my problem.

_2. Authentication method or app type_

Oauth server-to-server app. Basically just calling the endpoints in NodeJS.

_3. Any errors_

---

<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:** [April 21, 2023, 2:19pm UTC](https://devforum.zoom.us/t/cannot-set-registrations-as-required-for-meeting-through-api/87085/2 "2023-04-21T14:19:50Z")

</div>

Hi @mileetos  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!  
It looks like you are not passing the information correctly.  
Make sure to pass the fields “approval\_type” and “registration\_type” inside of the “settings” object and that should fix this error

Let me know how it goes! 🙂  
Cheers,  
Elisa

---

<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:** [April 24, 2024, 5:56am UTC](https://devforum.zoom.us/t/cannot-set-registrations-as-required-for-meeting-through-api/87085/3 "2024-04-24T05:56:41Z")

</div>

Closed on April 24, 2024, 5:56am UTC

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