Backend API
Waitlist API
Waitlist endpoints for talent and employer registration
Overview
The waitlist API allows users to join the platform waitlist before full launch. It supports separate flows for talent and employers.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/waitlist/talent | Join waitlist as talent |
| POST | /api/waitlist/employer | Join waitlist as employer |
| GET | /api/waitlist | List waitlist entries (admin) |
| GET | /api/waitlist/status | Check waitlist position |
Join as Talent
Register interest as a job seeker.
Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
firstName | string | Yes | 2-50 characters, letters only |
lastName | string | Yes | 2-50 characters, letters only |
email | string | Yes | Valid email, max 254 characters |
role | string | No | Job title/role (max 100 chars) |
agree | boolean | Yes | Must be true |
Response
Error Responses
Join as Employer
Register interest as a hiring company.
Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
firstName | string | Yes | 2-50 characters, letters only |
lastName | string | Yes | 2-50 characters, letters only |
email | string | Yes | Valid email, max 254 characters |
company | string | Yes | 2-100 characters |
companySize | string | Yes | Company size range |
industry | string | Yes | Industry category |
role | string | No | Job title (max 100 chars) |
agree | boolean | Yes | Must be true |
Company Size Options
1-1011-5051-200201-500500+
Industry Options
technologyfinancehealthcareeducationretailmanufacturingother
Response
List Waitlist Entries
Get paginated list of waitlist entries (admin only).
Request
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Page number |
limit | number | 10 | Items per page |
sortBy | string | createdAt | Sort field |
sortOrder | string | desc | asc or desc |
Response
Check Waitlist Status
Check position in the waitlist by email.
Request
Response
Database Models
Talent Model
Employer Model
Validation
All inputs are validated using SecurityValidator from @hireable/shared:
Validation Rules
| Validator | Rules |
|---|---|
validateEmail | Required, valid format, max 254 chars, lowercase trimmed |
validateFirstName | Required, 2-50 chars, letters/spaces/hyphens only |
validateLastName | Required, 2-50 chars, letters/spaces/hyphens only |
validateCompany | Required, 2-100 chars, alphanumeric with common symbols |
validateCompanySize | Required, valid format |
validateIndustry | Required, valid format |
validateRole | Optional, max 100 chars, sanitized |
validateAgree | Required, must be true |