# How to make webinar as mandate to register and auto approval through REST API

**URL:** <https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089>\
**Category:** API and Webhooks\
**Created:** [July 18, 2019, 10:44am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089 "2019-07-18T10:44:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrihari.kale](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@shrihari.kale](https://devforum.zoom.us/u/shrihari.kale)\
**Post date:** [July 18, 2019, 10:44am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/1 "2019-07-18T10:44:23Z")

</div>

Hello Support Team,

Could you please suggest How to make webinar as mandate for registration and auto approval through REST API.

I am unable to do this, I reffered your “Create Webinar” method and tried all three registartion types as below. But it didn’t helped me.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/ec1b8c38ae59ba2374dd3bec7eea688c1ef9ad8d.png)

Please help!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [July 18, 2019, 3:20pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/2 "2019-07-18T15:20:41Z")

</div>

Hi @shrihari.kale,

If you’re trying to use any of the registration\_types, the webinar type needs to **type: 9 - Recurring webinar with a fixed time** , **approval\_type: 0 - Automatically approve** , then you should be able to choose registration\_type.

![04%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/24f6d85831d7cc6d76bfe13f589d9a04aba6bb13.png)

Let me know if that helps!

Thanks

---

<div class="post-metadata">

**Author:** ![shrihari.kale](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@shrihari.kale](https://devforum.zoom.us/u/shrihari.kale)\
**Post date:** [July 19, 2019, 9:44am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/3 "2019-07-19T09:44:35Z")

</div>

Thanks Michael!

Here is my JSON data to create webinar via REST API  
for **type: 9 - Recurring webinar with a fixed time** , **approval\_type: 0 - Automatically approve**  
{  
“topic”:“VT test 19”,  
“type”:9,  
“start\_time”:"/Date(1563910200000)/",  
“duration”:370,  
“timezone”:“Honolulu (Hawaii Time, GMT-10:00)”,  
“password”:“fhdfh”,  
“agenda”:“fdhdfh”,  
“Recurrence”:null,  
“Settings”:{  
“host\_video”:false,  
“panelists\_video”:false,  
“practice\_session”:false,  
“hd\_video”:false,  
“approval\_type”:0,  
“registration\_type”:3,  
“audio”:“both”,  
“auto\_recording”:“none”,  
“enforce\_login”:false,  
“enforce\_login\_domains”:null,  
“alternative\_hosts”:null,  
“close\_registration”:false,  
“show\_share\_button”:false,  
“allow\_multiple\_devices”:false  
}  
}

**But it throws error - 400 Bad Request**

However I tried with type-5 webinar, it properly created webinar under Zoom portal

{  
“topic”:“VT test 19”,  
“type”:5,  
“start\_time”:"/Date(1563910200000)/",  
“duration”:370,  
“timezone”:“Honolulu (Hawaii Time, GMT-10:00)”,  
“password”:“fhdfh”,  
“agenda”:“fdhdfh”,  
“Recurrence”:null,  
“Settings”:{  
“host\_video”:false,  
“panelists\_video”:false,  
“practice\_session”:false,  
“hd\_video”:false,  
“approval\_type”:0,  
“registration\_type”:3,  
“audio”:“both”,  
“auto\_recording”:“none”,  
“enforce\_login”:false,  
“enforce\_login\_domains”:null,  
“alternative\_hosts”:null,  
“close\_registration”:false,  
“show\_share\_button”:false,  
“allow\_multiple\_devices”:false  
}  
}

I need your help here to make webinar as mandate for registration and auto approved. Refer below screen

 ![Create_Training](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e94b948428bf98d3ccfd37c502b2f5f1a308206a.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 19, 2019, 4:24pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/4 "2019-07-19T16:24:23Z")

</div>

Hey @shrihari.kale,

Can you try this JSON request body. (this worked for me)

```json
{
  "topic": "Test Rec Rec",
  "type": 9,
  "start_time": "2019-07-20T01:00:00",
  "duration": "30",
  "timezone": "",
  "recurrence": {
    "type": 1
  },
  "settings": {
    "approval_type": 0,
    "registration_type": 2
  }
}

```

 ![32%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/891cc1be153233fae86139f3c69891cd7e20efd6.png)

---

<div class="post-metadata">

**Author:** ![shrihari.kale](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@shrihari.kale](https://devforum.zoom.us/u/shrihari.kale)\
**Post date:** [July 22, 2019, 4:19am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/5 "2019-07-22T04:19:39Z")

</div>

Hi Tommy,

I tried your solution but it didn’t worked for me.

Here is my JSON posted data. Please analyze the same and let me know where I making mistake.

Also my webinar is only for single session and as per your setting its a daily one.

Please help me here I loosing my deadline.

{  
“topic”:“sdfsd”,  
“type”:9,  
“start\_time”:"/Date(1564515000000)/",  
“duration”:10,  
“timezone”:“Samoa (Samoa Time, GMT-11:00)”,  
“password”:“sdf”,  
“agenda”:"",  
“Recurrence”:{  
“type”:1  
},  
“Settings”:{  
“host\_video”:false,  
“panelists\_video”:false,  
“practice\_session”:false,  
“hd\_video”:false,  
“approval\_type”:0,  
“registration\_type”:2,  
“audio”:“both”,  
“auto\_recording”:“none”,  
“enforce\_login”:false,  
“enforce\_login\_domains”:null,  
“alternative\_hosts”:null,  
“close\_registration”:false,  
“show\_share\_button”:false,  
“allow\_multiple\_devices”:false  
}  
}

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 22, 2019, 3:20pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/6 "2019-07-22T15:20:38Z")

</div>

Hey @shrihari.kale,

When you said “I tried your solution but it didn’t worked for me.” what was the error you got?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 22, 2019, 3:28pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/7 "2019-07-22T15:28:46Z")

</div>

@shrihari.kale,

I think the issue is you have capital `S` in Settings and capital `R` in Recurrence. These need to be lower cased. Try this request body, it worked for me,

```json
{
  "topic": "sdfsd",
  "type": 9,
  "start_time": "/Date(1564515000000)/",
  "duration": 10,
  "timezone": "Samoa (Samoa Time, GMT-11:00)",
  "password": "sdf",
  "agenda": "",
  "recurrence": {
    "type": 1
  },
  "settings": {
    "host_video": false,
    "panelists_video": false,
    "practice_session": false,
    "hd_video": false,
    "approval_type": 0,
    "registration_type": 2,
    "audio": "both",
    "auto_recording": "none",
    "enforce_login": false,
    "enforce_login_domains": null,
    "alternative_hosts": null,
    "close_registration": false,
    "show_share_button": false,
    "allow_multiple_devices": false
  }
}

```

 ![52%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/cc09526a87316b49f8567b5854be8460b0c9e9b4.png)

Let me know if this works!

---

<div class="post-metadata">

**Author:** ![shrihari.kale](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@shrihari.kale](https://devforum.zoom.us/u/shrihari.kale)\
**Post date:** [July 23, 2019, 4:04am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/8 "2019-07-23T04:04:31Z")

</div>

> [@shrihari.kale](#):
>
> {  
> “topic”:“sdfsd”,  
> “type”:9,  
> “start\_time”:“/Date(1564515000000)/”,  
> “duration”:10,  
> “timezone”:“Samoa (Samoa Time, GMT-11:00)”,  
> “password”:“sdf”,  
> “agenda”:“”,  
> “Recurrence”:{  
> “type”:1  
> },  
> “Settings”:{  
> “host\_video”:false,  
> “panelists\_video”:false,  
> “practice\_session”:false,  
> “hd\_video”:false,  
> “approval\_type”:0,  
> “registration\_type”:2,  
> “audio”:“both”,  
> “auto\_recording”:“none”,  
> “enforce\_login”:false,  
> “enforce\_login\_domains”:null,  
> “alternative\_hosts”:null,  
> “close\_registration”:false,  
> “show\_share\_button”:false,  
> “allow\_multiple\_devices”:false  
> }  
> }

Its shows error 400 Bad Request

---

<div class="post-metadata">

**Author:** ![shrihari.kale](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@shrihari.kale](https://devforum.zoom.us/u/shrihari.kale)\
**Post date:** [July 23, 2019, 4:32am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/9 "2019-07-23T04:32:51Z")

</div>

Yes, this is also worked for me. However this is daily recurring webinar, actually we want to create webinar for single session.

NO recurring one. Colud you please share the JSON body request.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a5ea57736b983d796d091311f8d134d242f16d2c.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 23, 2019, 3:32pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/10 "2019-07-23T15:32:14Z")

</div>

Hey @shrihari.kale,

You can [reference our documentation here for the different types of webinars](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate#request-body).

You need to change the `"type"` to 5. Here is the full JSON request body,

```json
{
  "topic": "sdfsd",
  "type": 5,
  "start_time": "/Date(1564515000000)/",
  "duration": 10,
  "timezone": "Samoa (Samoa Time, GMT-11:00)",
  "password": "sdf",
  "agenda": "",
  "recurrence": {
    "type": 1
  },
  "settings": {
    "host_video": false,
    "panelists_video": false,
    "practice_session": false,
    "hd_video": false,
    "approval_type": 0,
    "registration_type": 2,
    "audio": "both",
    "auto_recording": "none",
    "enforce_login": false,
    "enforce_login_domains": null,
    "alternative_hosts": null,
    "close_registration": false,
    "show_share_button": false,
    "allow_multiple_devices": false
  }
}

```

 ![19%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7eae22100f3baae19bc2dfb1d69caceb74dda504.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shrihari.kale](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@shrihari.kale](https://devforum.zoom.us/u/shrihari.kale)\
**Post date:** [July 24, 2019, 4:08am UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/11 "2019-07-24T04:08:07Z")

</div>

This is worked me.

Thank you for your support!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 24, 2019, 3:40pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/12 "2019-07-24T15:40:15Z")

</div>

@shrihari.kale Great! Happy to help!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:34pm UTC](https://devforum.zoom.us/t/how-to-make-webinar-as-mandate-to-register-and-auto-approval-through-rest-api/5089/13 "2020-08-21T18:34:57Z")

</div>

Closed on August 21, 2020, 6:34pm UTC


