Get waitlist entries count
Get the number of entries in a waitlist.
Use getWaitlyEntriesCount method
This method returns the number of entries in a waitlist. It is useful to know how many people are waiting to join your waitlist.
main.tsx
import { createWaitlyClient } from "@go-waitly/waitly-sdk";
const waitly = createWaitlyClient({
apiKey: "you_api_key",
waitlistId: "your_waitlist_id",
});
const count = await waitly.getWaitlyEntriesCount();