How Do I Track SMS Consent With Audit Logs?
Learn how to track SMS consent with audit logs, preserve dated opt-in and opt-out evidence, and maintain an accurate, review-ready consent history.
Track SMS consent by storing a dated, tamper-resistant record of each person’s opt-in, opt-out, and later consent change, along with how it happened. Keep the original consent wording and collection source so you can show what the person agreed to, not just their current status.
How do I track SMS consent with audit logs?
Create one record for every consent event and connect it to the phone number and message program it covers. A useful record includes the phone number, event type (opt-in, opt-out, or resubscribe), timestamp and time zone, collection method, source page or system, exact consent wording and version, and the resulting status. For a web form, you can also capture the form version and URL; collect IP or device details only if you need them and have a clear privacy and retention policy.
Keep events as history rather than overwriting the previous status. Your current “can send” status should be easy to check, but the event history should show how it got there. Store opt-ins separately by message purpose when a person agrees to different kinds of texts; a phone number alone does not prove consent to every program. Twilio’s policy, for example, requires senders using its service to retain proof of consent and be able to provide the date and method it was obtained. That is a provider requirement, not a universal retention period for every business. (twilio.com)
Record opt-outs from every supported route, including replies, preference pages, and staff or system updates. Save the time, incoming keyword or request, number and program affected, and when sending was suppressed. The FCC recognizes common reply words such as “STOP,” “QUIT,” “END,” “REVOKE,” “OPT OUT,” “CANCEL,” and “UNSUBSCRIBE” as reasonable ways to revoke consent; other clear requests may also need to be honored. (docs.fcc.gov)
| Approach | Fits when | Trade-off |
|---|---|---|
| Messaging or customer-data platform with consent history | You want opt-in and opt-out events tied to contact profiles and an exportable history. Customer.io documents records for changes such as STOP replies, API updates, and team-member changes. (docs.customer.io) | Check which collection details it actually records. Customer.io says it records information supplied to or captured in the platform, and that a record alone does not prove valid consent. |
| Custom event log alongside your SMS system | You collect consent through several channels or need control over the evidence fields, access, and retention. | Your team must reliably capture events, prevent silent edits, apply opt-outs to sending, and maintain exports and backups. |
For a custom setup, make the log append-only for ordinary users, restrict who can change consent status, and export it periodically to a controlled backup. Record the actor or system that made each change. Reconcile the log against the sending platform so a recorded opt-out actually blocks future messages. Twilio’s Consent Management API can store and synchronize recipient opt-in status; confirm whether your separate evidence needs, such as the exact form wording, are captured in your own system. (twilio.com)
Set a retention schedule based on applicable law, provider rules, and your operational needs; do not assume one period fits every country or message type. If you import old subscribers, mark what evidence is missing rather than creating a backdated opt-in record. As Customer.io explains, a starting record based on existing preferences may show a person’s current choice without showing how they made it. (docs.customer.io)