Code Examples for how to use the Waitlist API with your Website
The guides below are written in React and show simple examples on how to integrate with our API for more custom needs.
General Waitlist Example
The sandbox below shows a simple waitlist example. There are a few ways you can make this waitlist more exciting:
- Avoid exposing the current priority of a Signup and only show the total referrals they have made. Add incentives like "refer 5 friends to get a hoodie" or "refer 10 friends to get access".
- Add confetti when the user signs up with JS Confetti.
Collect Name and/or Phone Number
Mix and match features on your waitlist, including asking for phone numbers and names of users that sign up.
Questions
Send responses to waitlist questions in your API. Make sure to enable this feature in the Waitlist dashboard. See here for more information.