# Add webinar registrant (with invalid webinar ID)

**URL:** <https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284>\
**Category:** API and Webhooks\
**Created:** [October 16, 2019, 11:03pm UTC](https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284 "2019-10-16T23:03:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.eide](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@erik.eide](https://devforum.zoom.us/u/erik.eide)\
**Post date:** [October 16, 2019, 11:03pm UTC](https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284/1 "2019-10-16T23:03:39Z")

</div>

**Description/Error**

I’m seeing successful responses, HTTP status code 201 created, when calling the “add webinar registrant” endpoint with a non-existent webinar id.

The documentation for responses, indicates we should receive HTTP status code 300 for an invalid webinar ID, or HTTP status code 404 not found (not sure which of these is right, but either of these would be better the current behaviour of a success result, and sending an email to registrant they have been added).

**Which Endpoint/s?**

POST /webinars/{webinarId}/registrants

> **[Add a Webinar Registrant - Webinars - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate)**
>
> Zoom users with a Webinar Plan have access to creating and managing Webinars. Webinar allows a host to broadcast a Zoom meeting to up to 1000 attendees....

**How To Reproduce (If applicable)**

N/A

**Screenshots (If applicable)**

N/A

**Additional context**

N/A

---

<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:** [October 17, 2019, 4:02pm UTC](https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284/2 "2019-10-17T16:02:43Z")

</div>

Hey @erik.eide,

Can you provide the webinarID so I can look at the logs?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![erik.eide](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@erik.eide](https://devforum.zoom.us/u/erik.eide)\
**Post date:** [October 17, 2019, 10:51pm UTC](https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284/3 "2019-10-17T22:51:05Z")

</div>

Well, I’m now seeing 404 responses when passing invalid webinar IDs, probably this is my bad… sorry guys!

---

<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:** [October 17, 2019, 11:08pm UTC](https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284/4 "2019-10-17T23:08:41Z")

</div>

No worries! 🙂

Let us know if you have any other questions!

Thanks,  
Tommy

---

<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, 7:00pm UTC](https://devforum.zoom.us/t/add-webinar-registrant-with-invalid-webinar-id/6284/5 "2020-08-21T19:00:18Z")

</div>

Closed on August 21, 2020, 7:00pm UTC


