Skip to content

Waitlist Widget

Drop-in React component for collecting waitlist signups. Works with the Waitlist service API.

Terminal window
npm install @saas-maker/waitlist
import { WaitlistWidget } from '@saas-maker/waitlist';
function App() {
return (
<WaitlistWidget
projectId="pk_your_api_key"
apiBaseUrl="https://api.sassmaker.com"
/>
);
}

The widget calls these endpoints:

MethodEndpointDescription
POST/v1/waitlistSign up (email required)
GET/v1/waitlist/countGet total signups
import { SaaSMakerClient } from '@saas-maker/sdk';
const client = new SaaSMakerClient({ apiKey: 'pk_your_api_key' });
// Add to waitlist
await client.waitlist.join({ email: 'user@example.com' });
// Get count
const { count } = await client.waitlist.getCount();
Terminal window
fnd waitlist list
fnd waitlist count
fnd waitlist delete <id>