WaitKitWaitKit
API

Join Waitlist

POST /api/waitlist/:slug/join — Add a subscriber to the waitlist.

Adds a new subscriber entry to the waitlist identified by the project slug.

Send this request from the client-side. Proxying it through your own server will record your deployment's IP and location instead of the actual subscriber's. See Integration Guide.

curl -X POST https://api.waitkit.dev/api/waitlist/my-project/join \
  -H "Authorization: Bearer wk_..." \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'

Request

ParamTypeRequiredDescription
emailstringyesSubscriber email
namestringnoSubscriber name
sourcestringnoSignup source (default: landing-page)
metadataRecord<string, unknown>noArbitrary metadata

Response

{
  "id": "clx...",
  "email": "user@example.com",
  "name": null,
  "source": "landing-page",
  "metadata": null,
  "createdAt": "2025-06-11T12:00:00.000Z"
}

Status codes

CodeDescription
201Subscriber created
400Invalid request body (missing email, invalid format)
401Missing or invalid API key
404Project not found
409Email already registered for this project

On this page