Consent and Updates under CASL
This page describes what Waitlo does and what it asks of you under Canada’s Anti-Spam Legislation (CASL) and Quebec’s Law 25. It isn’t legal advice; have someone qualified review your own wording and practices.
| Waitlo does | You do |
|---|---|
| Records every consent event, kept under the address’s email HMAC, outliving the entry, the waitlist and any retention period. | Write a consent wording that actually names what you’ll send, and keep it current before you ask for consent. |
| Refuses to send an Update to anyone who hasn’t granted consent on this waitlist, or who has withdrawn it anywhere in the project. | Build the checkbox unticked. CASL requires an affirmative action, never a default. |
| Lets a recipient withdraw with one click from every email, and a visitor reach a privacy request through the API or MCP server. | Dry-run before every real send, and read who’s excluded before you trust a count. |
| Keeps consent events and suppressions even after a privacy request deletes everything else for that address. | Set a complete sender identity – Waitlo sends nothing until it is. |
Ask for consent
Section titled “Ask for consent”A consent wording is a numbered, versioned text that says what the person is agreeing to. It should name what you’ll send and roughly how often; a vague “stay in touch” wording proves nothing if a complaint is ever investigated. Publishing a new version never changes or deletes the one before it – past joins stay tied to the wording they actually saw:
const wording = await waitlo.waitlists.consentWordings.create(process.env.WAITLO_WAITLIST_ID!, { locale: "en", text: "I agree to receive occasional Updates about this waitlist by email. I can withdraw my consent at any time.",});
console.log(`Published wording ${wording.id}, version ${wording.version}`);Whatever shows that text on your page, the checkbox next to it must start unticked. A page reads the current wording and whether consent is required with the consent prompt, then joins with the box’s answer:
const prompt = await waitlo.waitlists.consentPrompt(process.env.WAITLO_WAITLIST_ID!, { locale: "en" });
console.log(prompt.wording?.text);{ "object": "consent_prompt", "waitlist": "wl_00000000000000000000000000", "required": true, "wording": { "id": "cw_00000000000000000000000000", "locale": "en", "version": 1, "text": "I agree to receive occasional Updates about this waitlist by email. I can withdraw my consent at any time." }, "locales": ["en"]}This waitlist’s challenge is off, so the example below passes { challenge: false } to skip the ALTCHA widget entirely; drop that option on a waitlist whose challenge is on, and solve it the way the quickstarts do:
const entry = await waitlo.waitlists.join( process.env.WAITLO_WAITLIST_ID!, { email: "ada@example.com", consent: { wording: prompt.wording!.id, granted: true } }, { challenge: false },);
console.log(`Joined as ${entry.id}`);An absent checkbox resolves to a decline, never a grant. A waitlist’s Required consent setting (Update a waitlist) refuses any join that doesn’t grant it – but even without that setting on, only a granted entry ever receives an Update, so asking is worth doing either way.
A plain HTML form without the SDK posts the same two fields: a hidden consent[wording] naming the wording’s id, and a checkbox named consent[granted], ticked value on. An absent consent[granted] is the same as an unticked box – a decline, not an error.
What Waitlo records
Section titled “What Waitlo records”Every grant, decline or withdrawal writes a Consent event: never changed afterward, tied to the wording and locale the person actually saw, and kept under the address’s email HMAC rather than the address itself. It outlives the entry, the waitlist it came from and any retention period you’ve set – retention never deletes a consent event – and survives until the project itself is deleted. A flagged join records nothing until you clear the flag, at which point the event is dated back to when the join happened. Read one entry’s history with List an entry's consent history.
Double opt-in
Section titled “Double opt-in”A waitlist with double opt-in leaves a join as a pending entry until the person clicks the link in their Confirmation; nothing confirmed within 30 days is deleted. That click proves the address answers back – it is not consent, and a pending entry still needs its own granted wording before it’s a safe one to email. Don’t treat “confirmed” and “consented” as the same question. Turning double opt-in on needs a complete sender identity first, since every join then owes a Confirmation Waitlo can’t send without one.
Who gets an Update
Section titled “Who gets an Update”An Update’s audience is drawn fresh at send time: entries in the statuses you chose (every status, if you don’t choose), consent granted, not suppressed, not flagged. dry_run: true answers the same count without sending anything or writing an Update, so you always know who’s in before you commit:
const preview = await waitlo.waitlists.updates.create(process.env.WAITLO_WAITLIST_ID!, { content: { en: { subject: "You're up!", body: "Thanks for waiting -- it's your turn to join." } }, dry_run: true,});
if (preview.object !== "update_preview") { throw new Error("expected a dry_run preview, not a real send");}console.log(`Would send to ${preview.recipient_count}; ${preview.excluded.consent_not_granted} excluded for consent, ${preview.excluded.suppressed} suppressed`);{ "object": "update_preview", "mode": "test", "waitlist_id": "wl_00000000000000000000000000", "statuses": ["waiting", "invited", "joined"], "recipient_count": 1, "recipients_by_locale": { "en": 1, "fr-CA": 0 }, "excluded": { "consent_not_granted": 0, "suppressed": 0 }, "within_limit": true, "limit": 10000, "sending": { "daily_cap": 500, "remaining_today": 499, "deferred_count": 0, "resets_at": "2026-01-01T05:00:00.000Z" }, "previews": [ { "locale": "en", "subject": "You're up!", "html": "<p>Thanks for waiting -- it's your turn to join.</p>", "text": "Thanks for waiting -- it's your turn to join." } ]}excluded breaks out why anyone was left off: consent_not_granted or suppressed. A real send (Send an Update, or preview it with dry_run) refuses over 10,000 recipients or an empty audience; a dry run reports within_limit: false or recipient_count: 0 instead of refusing, so you can see the problem before you fix your statuses.
Sender identity
Section titled “Sender identity”Waitlo sends nothing – no Confirmation, Update or invitation – until your sender identity is complete: a legal name, a full address, and at least one contact (email, phone or web address). CASL requires that every commercial email identify who sent it and how to reach them; Waitlo adds this to the bottom of every one it sends on your behalf, so it only has to be right once.
Unsubscribe, withdrawal and suppression
Section titled “Unsubscribe, withdrawal and suppression”These answer different questions. Unsubscribe is the person’s own action, from an email’s one-click header or the preferences page; it records a Withdrawal, covering every waitlist of the project in that mode, and joining again can’t undo it. You can also record one yourself with Withdraw consent for an entry's address if someone asks you directly. Every Withdrawal fires Consent was withdrawn for an address, so a webhook receiver (see Verify webhooks) can apply it to any copy of your audience you keep elsewhere. A Suppression is narrower and stricter: an address that gets no email from Waitlo at all, because it hard-bounced, complained of spam, or you added it yourself – it isn’t a withdrawal, and only a complaint-driven one can never be lifted. A bounce or a suppression you add yourself fires nothing; a complaint fires the same event, because it writes a Withdrawal alongside it.
Privacy requests
Section titled “Privacy requests”Quebec’s Law 25 gives a person the right to know what you hold about them and to have it deleted. A privacy request answers one email address in one mode: read everything held about it, or delete it. Deletion erases that address’s entries, messages, email messages and notification recipients, but keeps its consent events and suppression – the proof and the block both outlive the person’s own data.
That proof doesn’t outlive the project. Deleting a project destroys every consent event, wording and suppression it holds, immediately and in the same transaction – there is no recovering them afterward. Before you delete a project you still need its proof for, export its consent events first.