# How to generate Video conferencing URL programatically

**URL:** <https://openvidu.discourse.group/t/how-to-generate-video-conferencing-url-programatically/1365>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 4, 2020, 12:07pm UTC](https://openvidu.discourse.group/t/how-to-generate-video-conferencing-url-programatically/1365 "2020-07-04T12:07:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cipto](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cipto](https://openvidu.discourse.group/u/cipto)\
**Post date:** [July 4, 2020, 12:07pm UTC](https://openvidu.discourse.group/t/how-to-generate-video-conferencing-url-programatically/1365/1 "2020-07-04T12:07:03Z")

</div>

Hi openVidu,  
I have this requirement to generate video conferencing URL,  
like a Room URL and then this room/URL if possible is scheduled at certain time and only valid for a duration of time.

Is it possible?  
I tested your API is just to create session and token, I can’t generate URL nor setting up the duration of a meeting. is there a workaround for this?

Thanks

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [July 4, 2020, 1:38pm UTC](https://openvidu.discourse.group/t/how-to-generate-video-conferencing-url-programatically/1365/2 "2020-07-04T13:38:58Z")

</div>

Your own application has to manage the scheduling and duration. When a user access to your application, you can check if the session id of the URL is valid or not. If it is valid, just create a session in OpenVidu and let the user enter on it (generating the token for it). If the session has expired, just show an error to the user.

The scheduling, duration control and user control has to be managed by your app.

Regards
