📧

Waitlist API Template

Collect signups from your landing page

Add a working waitlist form to your landing page in 60 seconds. No backend code. No database. Just a Google Sheet and one API call.

Sheet Structure

Your Google Sheet should have these columns (first row = headers):

email name source created_at status
john@example.com John Doe landing-v1 2026-01-30 pending
jane@example.com Jane Smith twitter 2026-01-30 invited
... ... ... ... ...
Column guide: email (required), name (optional), source (track where signups come from), created_at (auto-filled), status (for your workflow)

Code Examples

waitlist-form.html
<form id="waitlist-form">
  <input type="email" name="email" placeholder="Enter your email" required>
  <input type="text" name="name" placeholder="Your name (optional)">
  <button type="submit">Join Waitlist</button>
</form>

<script>
document.getElementById('waitlist-form').addEventListener('submit', async (e) => {
  e.preventDefault();
  
  const formData = new FormData(e.target);
  
  const response = await fetch('https://api.getsheetapi.com/api/v1/YOUR_SHEET_ID', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'X-API-Key': 'YOUR_API_KEY'
    },
    body: JSON.stringify({
      email: formData.get('email'),
      name: formData.get('name') || '',
      source: 'landing-page',
      created_at: new Date().toISOString().split('T')[0],
      status: 'pending'
    })
  });
  
  if (response.ok) {
    alert('Thanks! You\'re on the list.');
  }
});
</script>

Live Demo

This form is connected to a real Google Sheet via GetSheetAPI. Try it!

Join our waitlist

📊 View the connected Google Sheet →

Quick Setup (60 seconds)

1

Copy the template sheet

Click the button above to copy our pre-configured Google Sheet to your Drive.

2

Share with GetSheetAPI

Share your sheet with getsheetapi@getsheetapi.iam.gserviceaccount.com (Editor access).

3

Connect in GetSheetAPI

Paste your sheet URL in the dashboard. Get your API key and sheet ID.

4

Add the form to your site

Copy the code above, replace YOUR_SHEET_ID and YOUR_API_KEY, and you're live!

Ready to collect signups?

Get your waitlist API running in 60 seconds. Free tier included.

More Templates