CLI
Create signups, look up subscriber status, award referral points, and call REST API v1 from the official Waitlyze command-line tool.
The Waitlyze CLI is the official waitlyze package on npm. It wraps the public signup endpoints and REST API v1 for shell scripts and CI. It requires Node.js 18 or later.
Install
npm install -g waitlyzeOr run it without installing:
npx waitlyze@latest --helpAuthenticate
The CLI uses the same scoped keys as the API. Create one in Settings → API keys, then export it:
export WAITLYZE_API_KEY=wl2_...You can also pass it per command with --api-key. Commands that read waitlist data need a key with waitlist:read; commands that create signups or award points need waitlist:write.
Commands
Create a signup
waitlyze signup dev@example.com --waitlist <waitlistId> --ref FRIEND_CODE--waitlist takes the waitlist ID. Add --name for a display name or --marketing-consent to opt the subscriber into broadcast email. Retries are safe: the same email replays the existing signup instead of creating a duplicate.
Check subscriber status
waitlyze status dev@example.com --waitlist <waitlistId>Returns live position, points, referral count, and verification state—the same data the Lookup signup endpoint returns.
Award custom event points
waitlyze points dev@example.com --event webinar-attendee --waitlist <waitlistId>The event must match a custom event configured on the waitlist. Add --idempotency-key so retries cannot double-award points. See Award points.
Call any v1 endpoint
waitlyze workspaces
waitlyze request GET /api/v1/waitlists
waitlyze request POST /api/v1/waitlists --data '{"name":"Beta launch"}'request passes the method, path, and JSON body straight to the REST API and prints the JSON response—useful for endpoints without a dedicated command.
Test against a self-hosted instance
Waitlyze is open source and ships a compose.yaml for Docker. Point the CLI at your own instance instead of the hosted service:
waitlyze --base-url http://localhost:3000 status dev@example.com --waitlist <waitlistId>WAITLYZE_BASE_URL sets the same target through the environment.
See also
- API reference: endpoints, rate limits, and versioning
- Create signup: the endpoint used by
signup - API keys: scopes, rotation, and expiry