Skip to main content

Waitlist

Public, no secret key needed. It always returns { success: true }, whether the email is new, already listed or already registered, so it never reveals which emails exist. No email is sent. With your secret key:
status is PENDING, INVITED or REGISTERED. An entry becomes REGISTERED when that email signs up. remove() also needs the Waitlist feature on your Kerne plan, or it fails with K5002.

Invite by email

Kerne emails the invitation, which expires after 7 days. Inviting the same email again replaces an unused invitation.

Invite with a code

An 8-character code you share yourself. Nothing is emailed. Both methods need your secret key. The invited person passes the token or the code to signup() as invitationToken or invitationCode.

Validate an invitation

Public, so you can check an invitation before showing your sign-up form:
A code can be valid but not canUse: it exists and hasn’t expired, but has no uses left. Gate sign-up on canUse.

List and revoke

list() returns every invitation, used and expired ones included (isUsed, isExpired). A code’s isUsed means it has no uses left. Both need your secret key.