# API registration  form

**URL:** <https://devforum.zoom.us/t/api-registration-form/1216>\
**Category:** API and Webhooks\
**Created:** [May 1, 2018, 10:04pm UTC](https://devforum.zoom.us/t/api-registration-form/1216 "2018-05-01T22:04:25Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![arjun.bsci](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@arjun.bsci](https://devforum.zoom.us/u/arjun.bsci)\
**Post date:** [September 8, 2020, 10:42pm UTC](https://devforum.zoom.us/t/api-registration-form/1216/7 "2020-09-08T22:42:13Z")

</div>

Thank you Will for replying back.  
Please refer to the request and response below.

**1. I am using JWT token with “template\_id”:“lYSi9364Rhi5R-iPnjpHhQ” and template\_id exists under the zoom user account.**  
**Issue: Receiving error: “Only the template owner has the permission to use this template for Webinar creation.”**

request===System.HttpRequest[Endpoint=[https://api.zoom.us/v2/users/arjun.srivastava@bsci.com/webinars](https://api.zoom.us/v2/users/arjun.srivastava@bsci.com/webinars), Method=POST]

requestBody==={“uuid”:null,“type”:5,“topic”:“09/09/2020, Dr. Strange, Community Event”,“timezone”:“America/New\_York”,“template\_id”:“lYSi9364Rhi5R-iPnjpHhQ”,“status”:null,“start\_url”:null,“start\_time”:“2020-09-09T08:02:00”,“settings”:{“watermark”:null,“waiting\_room”:true,“use\_pmi”:null,“show\_share\_button”:null,“registration\_type”:2,“registrants\_email\_notification”:true,“registrants\_confirmation\_email”:null,“practice\_session”:null,“participant\_video”:false,“panelists\_video”:null,“mute\_upon\_entry”:false,“join\_before\_host”:false,“in\_meeting”:null,“host\_video”:true,“hd\_video”:null,“global\_dial\_in\_numbers”:null,“global\_dial\_in\_countries”:null,“enforce\_login\_domains”:null,“enforce\_login”:false,“contact\_name”:null,“contact\_email”:null,“cn\_meeting”:null,“close\_registration”:null,“auto\_recording”:null,“audio”:“both”,“approval\_type”:0,“alternative\_hosts”:null,“allow\_multiple\_devices”:null},“[recurrence":null,“password”:null,“occurrences”:null,“join\_url”:null,“id”:null,“host\_id”:"arjun.srivastava@bsci.com](mailto:recurrence%22:null,%22password%22:null,%22occurrences%22:null,%22join_url%22:null,%22id%22:null,%22host_id%22:%22arjun.srivastava@bsci.com)”,“duration”:60,“custom\_questions”:null,“created\_at”:null,“agenda”:null}

response===System.HttpResponse[Status=null, StatusCode=400]

response.getBody()==={“code”:3003,“message”:“Only the template owner has the permission to use this template for Webinar creation.”}

**2. Creating a webinar via API using JWT token without “template\_id” parameter.**  
**Issue: The default Registration form from the Zoom Account level setting is not getting set.**  
**Note: If we schedule the Webinar via the Web Interface, the Default Registration form is getting set.**

request===System.HttpRequest[Endpoint=[https://api.zoom.us/v2/users/arjun.srivastava@bsci.com/webinars](https://api.zoom.us/v2/users/arjun.srivastava@bsci.com/webinars), Method=POST]

requestBody==={“uuid”:null,“type”:5,“topic”:“09/09/2020, Dr. Strange, Community Event”,“timezone”:“America/New\_York”,“template\_id”:null,“status”:null,“start\_url”:null,“start\_time”:“2020-09-09T08:02:00”,“settings”:{“watermark”:null,“waiting\_room”:true,“use\_pmi”:null,“show\_share\_button”:null,“registration\_type”:2,“registrants\_email\_notification”:true,“registrants\_confirmation\_email”:null,“practice\_session”:null,“participant\_video”:false,“panelists\_video”:null,“mute\_upon\_entry”:false,“join\_before\_host”:false,“in\_meeting”:null,“host\_video”:true,“hd\_video”:null,“global\_dial\_in\_numbers”:null,“global\_dial\_in\_countries”:null,“enforce\_login\_domains”:null,“enforce\_login”:false,“contact\_name”:null,“contact\_email”:null,“cn\_meeting”:null,“close\_registration”:null,“auto\_recording”:null,“audio”:“both”,“approval\_type”:0,“alternative\_hosts”:null,“allow\_multiple\_devices”:null},“[recurrence":null,“password”:null,“occurrences”:null,“join\_url”:null,“id”:null,“host\_id”:"arjun.srivastava@bsci.com](mailto:recurrence%22:null,%22password%22:null,%22occurrences%22:null,%22join_url%22:null,%22id%22:null,%22host_id%22:%22arjun.srivastava@bsci.com)”,“duration”:60,“custom\_questions”:null,“created\_at”:null,“agenda”:null}

response===System.HttpResponse[Status=null, StatusCode=201]

response.getBody()==={“[uuid":“fNjeQS+eQteh2+FaziXC3Q==”,“id”:99095596572,“host\_id”:“s8PmOOG\_QDiDJF65rLI2Wg”,“host\_email”:"arjun.srivastava@bsci.com](mailto:uuid%22:%22fNjeQS+eQteh2+FaziXC3Q==%22,%22id%22:99095596572,%22host_id%22:%22s8PmOOG_QDiDJF65rLI2Wg%22,%22host_email%22:%22arjun.srivastava@bsci.com)”,“topic”:“09/09/2020, Dr. Strange, Community Event”,“type”:5,“start\_time”:“2020-09-09T12:02:00Z”,“duration”:60,“timezone”:“America/New\_York”,“created\_at”:“2020-09-08T21:45:34Z”,“start\_url”:“[Launch Meeting - Zoom](https://bsci-nm.zoom.us/s/99095596572?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJzOFBtT09HX1FEaURKRjY1ckxJMldnIiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImNsdCI6MCwic3RrIjoiU1l2NF9BUXE3U3V5OUlIRENlTTFvSGpVUGU5WWlES0tKWUlyOFJXNFg3US5CZ1VzV0VOTlozRkpRVnBGTjJGNU9FeENiM1Y2WnpCbFRFdzBVM2RIVG0xVFRsUXdTRUZWYkVnclRUQnliejFBTVRJNVlUbGlNVGszWVRSalpqRTBNR0l6TWpGbE56VXdPVEZtTkRSaVkyVXpPRFl5T0RSak1XSXpNbVJrTWpRMk16ZzFOR0k1T1RNMVkySTJPR0kwTUFBZ2RFNXNSVzVtYVROWVRFMXhiV1JrUTFGSmJreEVTR1J1ZW1WYWEyMWpVRFVBQTJGM01RIiwiZXhwIjoxNTk5NjA4NzM1LCJpYXQiOjE1OTk2MDE1MzUsImFpZCI6ImpnMlZ5amt2UmJlM05TUy1xYWtsUkEiLCJjaWQiOiIifQ.P-OtyUEImnMOCoACQsEvJxYNkqsAhvyJAwaQcqjMCUQ%22,%22join_url%22:%22https://bsci-nm.zoom.us/j/99095596572%22,%22registration_url%22:%22https://bsci-nm.zoom.us/webinar/register/WN_9AOq7u2RSZShMMqxzRApNA%22,%22settings%22:%7B%22host_video%22:true,%22panelists_video%22:false,%22approval_type%22:0,%22audio%22:%22both%22,%22auto_recording%22:%22none%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22alternative_hosts%22:%22%22,%22close_registration%22:true,%22show_share_button%22:false,%22allow_multiple_devices%22:true,%22practice_session%22:false,%22hd_video%22:false,%22question_answer%22:true,%22registrants_confirmation_email%22:true,%22on_demand%22:false,%22request_permission_to_unmute_participants%22:false,%22global_dial_in_countries%22:%5B%22CA%22,%22US%22%5D,%22global_dial_in_numbers%22:%5B%7B%22country_name%22:%22Canada%22,%22number%22:%22+1) 2042727920”,“type”:“toll”,“country”:“CA”},{“country\_name”:“Canada”,“number”:“+1 4388097799”,“type”:“toll”,“country”:“CA”},{“country\_name”:“Canada”,“number”:“+1 5873281099”,“type”:“toll”,“country”:“CA”},{“country\_name”:“Canada”,“number”:“+1 6473744685”,“type”:“toll”,“country”:“CA”},{“country\_name”:“Canada”,“number”:“+1 6475580588”,“type”:“toll”,“country”:“CA”},{“country\_name”:“Canada”,“number”:“+1 7789072071”,“type”:“toll”,“country”:“CA”},{“country\_name”:“US”,“number”:“+1 6699006833”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“number”:“+1 2532158782”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“number”:“+1 3462487799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“number”:“+1 3017158592”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“number”:“+1 3126266799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“number”:“+1 6465588656”,“type”:“toll”,“country”:“US”}],“contact\_name”:“Arjun [Srivastava",“contact\_email”:"arjun.srivastava@bsci.com](mailto:Srivastava%22,%22contact_email%22:%22arjun.srivastava@bsci.com)”,“registrants\_restrict\_number”:0,“registrants\_email\_notification”:true,“post\_webinar\_survey”:false,“meeting\_authentication”:false,“additional\_data\_center\_regions”:}}

**3. Do you know the timeline for the resolution of the bug listed in the below post:**

> [@Webinar API Add Custom Questions](https://devforum.zoom.us/t/webinar-api-add-custom-questions/27577):
>
> API Docs When i make a request to add a custom question using {“custom\_questions”:[{“title”:“test field”,“type”:“single\_radio”,“required”:true,“answers”:[“Yes”]}]} I ge the following error {“code”:300,“message”:“Validation Failed.”,“errors”:[{“field”:“custom\_questions[0].answers”,“message”:“Invalid field.”}]}stdClass Object ( [code] =\> 300 [message] =\> Validation Failed. [errors] =\> Array ( [0] =\> stdClass Object ( [field] =\> custom\_questions[0].answers [message] =\> Invalid field. ) ) ) I…

---

_[View the full topic](https://devforum.zoom.us/t/api-registration-form/1216)._
