Code Examples

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 waiter 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 waiter 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 waiters that sign up.


Send responses to waitlist questions in your API. Make sure to enable this feature in the Waitlist dashboard. See here for more information.