# Unable to use API to register for on-demand Webinars

**URL:** <https://devforum.zoom.us/t/unable-to-use-api-to-register-for-on-demand-webinars/21124>\
**Category:** API and Webhooks\
**Created:** [June 11, 2020, 10:03pm UTC](https://devforum.zoom.us/t/unable-to-use-api-to-register-for-on-demand-webinars/21124 "2020-06-11T22:03:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoommeeting](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoommeeting/32/18751_2.png) [@zoommeeting](https://devforum.zoom.us/u/zoommeeting)\
**Post date:** [June 11, 2020, 10:03pm UTC](https://devforum.zoom.us/t/unable-to-use-api-to-register-for-on-demand-webinars/21124/1 "2020-06-11T22:03:46Z")

</div>

We have set up a series of webinars and set them all to be “on demand”. They all require registration.

When I use the API to register attendees it works fine - up to and including the day of the webinar. But the following day any attempt to register someone for the event (so they can watch the recording) generates an error. The message indicates “Webinar is over, you can not register now. …”

However, as expected, if I manually attempt to register and view the webinar it works just fine.

Why will the API registration not work?

API being used is  
POST /webinars/{webinarId}/registrants

---

<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:** [June 16, 2020, 9:36pm UTC](https://devforum.zoom.us/t/unable-to-use-api-to-register-for-on-demand-webinars/21124/2 "2020-06-16T21:36:56Z")

</div>

Hey @zoommeeting,

Is this a recurring webinar? If so, have you tried adding the [occurrence id](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate#request-parameters)?

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, 10:04pm UTC](https://devforum.zoom.us/t/unable-to-use-api-to-register-for-on-demand-webinars/21124/3 "2020-08-21T22:04:58Z")

</div>

Closed on August 21, 2020, 10:04pm UTC


