Home / Companies / Daily / Blog / Post Details
Content Deep Dive

Build a React form to generate Daily meeting tokens

Blog post from Daily

Post Details
Company
Date Published
Author
Jess Mitchell
Word Count
1,438
Language
English
Hacker News Points
-
Summary

This tutorial aims to simplify the process of creating an admin meeting token for a webinar platform using Daily Prebuilt and a custom chat widget. It provides a separate React app with a single form to create new admin meeting tokens, hosted by Netlify and using Netlify redirects to proxy Daily API calls. The app uses a React component to build the token form, which includes inputs for the room name and admin's username, as well as an input to submit the form. When the form is submitted, it makes a POST request to the Daily REST API endpoint with the required properties, such as is_owner, user_name, and room_name. The response from the API contains the token in JSON format, which can be used to authenticate the webinar admin. The tutorial also mentions additional ideas for expanding functionality, such as adding error states, custom authentication, or integrating with calendars.