Keys and modes
Every request to Waitlo carries one credential. Which one you reach for depends on where the code runs and what it’s allowed to touch.
Credentials
Section titled “Credentials”| Credential | Prefix | Runs | Can do |
|---|---|---|---|
| Publishable key | pk_live_…, pk_test_… |
Browser code | Submit to its one project, from an allowed origin |
| Secret key | sk_live_…, sk_test_… |
Servers, scripts, the local MCP server, the SDK | Manage one project’s waitlists, forms and data, in one mode |
| Personal access token | waitlo_pat_… |
Scripts, the CLI, the local MCP server | Act as you, across every project you own |
A publishable key and a secret key each belong to one project and one mode: create, roll (swap it for a new one – the old one expires at once or after a short grace period) or revoke (disable it for good – it never works again) them from that project’s API keys page in the dashboard. A personal access token acts as you rather than as one project, so it comes from your account’s own Personal access tokens page instead, and names which project and mode it’s acting in on each request.
Live and test mode
Section titled “Live and test mode”A project’s waitlists and contact forms exist in two separate spaces. Live mode is for real people. Test mode never pollutes the live list and never emails anyone real, so you can integrate and try things out first. Every entry and message belongs to exactly one mode, and so does every publishable key and secret key above.
A pk_test_ key also accepts requests from your own machine on any port, even one its project’s allowed origins don’t list – so a quickstart running on localhost works before you’ve configured anything.
Reading the examples’ placeholders
Section titled “Reading the examples’ placeholders”The code examples elsewhere in these docs are real, runnable code with a few names swapped out for placeholders, not sample text left for you to adapt. An ellipsis stands in for the random part Waitlo generates:
wl_…is a waitlist idpk_test_…orpk_live_…is a publishable keyhttps://example.com/thanksis wherever you’d send a submitter next
Copy an example, swap in the matching value from your own dashboard, and nothing else needs to change for it to run.