CLI

Create signups, look up subscriber status, award referral points, and call the REST API v1 from the command line with the official Waitlyze CLI on npm.

The Waitlyze CLI is the official waitlyze package on npm. It wraps the public signup endpoints and the REST API v1 in a single zero-dependency command for shell scripts, CI, and AI agents. It requires Node 18 or later.

Install

npm install -g waitlyze

Or run it without installing:

npx waitlyze@latest --help

Authenticate

The CLI uses the same scoped keys as the API. Create one in Settings → API keys, then export it once:

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.

Prefer MCP for interactive agents?

For AI assistants that hold a conversation—Claude Code, Cursor, Codex—use the MCP server instead. The CLI is the better fit for shell scripts, CI jobs, and one-off commands.

See also

On this page