API
REST API
Base URL, authentication, and usage for the WaitKit REST API.
The REST API is the foundation of all WaitKit integrations. The JavaScript SDK wraps these endpoints directly.
Base URL
https://api.waitkit.devAuthentication
All public endpoints require an API key sent as a Bearer token in the Authorization header:
Authorization: Bearer wk_...API keys are generated per project from the dashboard. Each request without a valid key returns 401 Unauthorized.
Content type
All requests and responses use application/json.
Rate limiting
Rate limits apply per API key. Exceeded limits return 429 Too Many Requests with a Retry-After header.
Endpoints
| Method | Path | Auth | Description |
|---|---|---|---|
POST | /api/waitlist/:slug/join | API key | Add a subscriber |
GET | /api/waitlist/:slug/count | API key | Get subscriber count |
Management endpoints (session-authenticated via the dashboard):
| Method | Path | Description |
|---|---|---|
GET | /api/project | List projects |
POST | /api/project | Create project |
GET | /api/project/:id | Get project |
PUT | /api/project/:id | Update project |
DELETE | /api/project/:id | Delete project |
GET | /api/project/:id/waitlist | List entries |
GET | /api/project/:id/waitlist/:eid | Get entry |
PUT | /api/project/:id/waitlist/:eid | Update entry |
DELETE | /api/project/:id/waitlist/:eid | Delete entry |
GET | /api/project/:id/apikey | List API keys |
POST | /api/project/:id/apikey | Create API key |
GET | /api/project/:id/apikey/:kid | Get API key |
PUT | /api/project/:id/apikey/:kid | Update API key |
DELETE | /api/project/:id/apikey/:kid | Delete API key |
GET | /api/project/:id/analytics/* | Analytics data |
See the individual endpoint pages for request and response schemas.
