Consent Link — Overview
A consent link is a secure, one-time URL you generate and send to a data principal via SMS or email. When the recipient opens the link, they verify their identity via OTP and then see the consent banner for a specific collection point — where they can approve, decline, or revoke their purposes without logging in to your application.
Use consent links for:
- Collecting consent during customer onboarding over SMS
- Re-consent campaigns when your data processing purposes change
- Out-of-app consent flows (IVR follow-ups, email footers, QR codes)
How it works
Section titled “How it works”- Your server calls
POST /api/consent/consent-linkswith the data principal’s phone number, asset, and collection point. - The API returns a
consent_linkURL and anevent_id. - You deliver the link to the data principal (SMS, WhatsApp, email, etc.).
- The data principal opens the link, verifies their phone via OTP (
is_verified = true), then submits consent (is_completed = true). - The consent record is written against the
event_idand is retrievable from the audit log.
Prerequisites
Section titled “Prerequisites”- A logged-in dashboard user account — both endpoints authenticate via
Authorization: Bearer <token>. This is the session token of the dashboard user making the request. - Your Organization ID (PropelAuth org ID or your subdomain slug). See Organization ID.
- At least one active asset and one active collection point associated with it.
-
Create a consent link — Call the API to generate a link for a data principal.
-
View link history — Retrieve and audit all links your organization has generated.
-
Dashboard — Use the truConsent dashboard to generate and track links without any code.