Waitlists
Create, read, update, and delete waitlists over the REST API.
A waitlist is a hosted signup page. Creating one makes it live at https://usewait.com/w/<slug> immediately, rendered with the default template unless you provide your own page code.
Create a waitlist
curl -X POST https://usewait.com/api/v1/waitlists \
-H "Authorization: Bearer uw_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Robotics",
"slug": "acme-robotics",
"description": "Autonomous robots for small warehouses",
"seoTitle": "Acme Robotics: join the waitlist",
"referralEnabled": true
}'
Fields
namestring
Display name, 1-100 characters.
stringslug?string
URL slug: lowercase letters, numbers, hyphens, 3-100 characters, unique. Auto-generated from the name when omitted.
stringdescription?string
Internal description, max 500 characters.
stringreactCode?string
Full page code. See the page code reference. Omit to use the default template.
stringseoTitle?string
SEO title override, max 70 characters.
stringseoDescription?string
Meta description, max 160 characters.
stringseoKeywords?string
Comma-separated keywords, max 255 characters.
stringogImage?string
Open Graph image URL. Upload via the assets endpoint first.
stringreferralEnabled?boolean
Enable the viral referral system. Requires a plan with referrals.
booleanreferralBoost?number
Positions moved up per successful referral, 1-100.
numberreferralMessage?string
Message shown after signup, max 500 characters.
stringThe response is 201 with the created waitlist, including its public url.
List, read, update, delete
curl https://usewait.com/api/v1/waitlists \
-H "Authorization: Bearer uw_live_YOUR_KEY"curl https://usewait.com/api/v1/waitlists/acme-robotics \
-H "Authorization: Bearer uw_live_YOUR_KEY"curl -X PATCH https://usewait.com/api/v1/waitlists/acme-robotics \
-H "Authorization: Bearer uw_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "seoDescription": "Join the early access list." }'curl -X DELETE https://usewait.com/api/v1/waitlists/acme-robotics \
-H "Authorization: Bearer uw_live_YOUR_KEY"GETof a single waitlist includes the currentreactCode; the list endpoint omits it.PATCHaccepts the same fields as create, all optional. Changingslugmoves the public URL; the old slug returns 404 afterward.DELETEremoves the waitlist and all of its entries. Irreversible.