# Twilio integration consultant: SMS and WhatsApp that respect consent.

> SBD builds Twilio messaging into your workflows: reminders, confirmations and two-way replies logged against the right customer, with registration, consent and opt-outs handled before the first message goes out, for teams of 1 to 1,000 people. Workflow automation builds start at $1,000, with the fixed price set after a $500 Automation Audit that is credited to the build.

- Canonical: https://smallbaydigital.com/integrations/tools/twilio/
- Publisher: SmallBay Digital

## What a Twilio build from SBD does

Twilio is an API, not an app, so every Twilio project is a small piece of software. Teams usually come to us with a messaging need that sounds simple: send appointment reminders, tell customers their order has shipped, text back missed calls. The sending is the easy part. Consent, registration, replies, opt-outs and logging are where projects go wrong.

Our Twilio work falls into four groups. Outbound sequences: reminders and confirmations triggered by an event in your booking, order or CRM system, with quiet hours and per-customer frequency. Two-way messaging: inbound replies matched to the right customer and routed to a person, a ticket or a simple keyword handler. Logging: every message and delivery status written against the customer record, so anyone can see what was sent. Compliance: registration, consent capture and opt-out sync built in from the start.

Twilio is in the stack of one published SBD project, the [automations for a 120-property rental portfolio](https://smallbaydigital.com/case-studies/rental-portfolio-automations/), with n8n, Zendesk and QuickBooks. Under SBD's own rules, any workflow that contacts a customer for the first time needs a person's approval before it sends.

## A2P 10DLC: register before you send to the US

Twilio's documentation says that anyone sending SMS or MMS from an application to US numbers over a standard 10-digit long code must register for A2P 10DLC, including individuals. Registration has two parts: a brand, which identifies who is sending, and a campaign, which describes the messages, how people opt in, opt out and get help. Registered traffic gets less filtering and more throughput, and Twilio states that unregistered 10DLC traffic incurs extra carrier fees.

Brand type sets your ceiling. In Twilio's table, read in October 2026, a Sole Proprietor brand is limited to 1,000 SMS segments a day to T-Mobile, roughly 3,000 across US carriers, and one campaign. A Low-Volume Standard brand allows up to 2,000 a day to T-Mobile. A Standard brand's limit depends on its Trust Score. Each tax ID can register up to five Standard or Low-Volume Standard brands. Toll-free and short code numbers sit outside 10DLC and have their own processes.

We prepare registration with you during the build: brand details that match your public records, a campaign description and sample messages that match what the workflow will send, and an opt-in flow that can be shown to a reviewer. Rejected campaigns usually fail on that last point.

## Consent, opt-outs and the 24-hour WhatsApp window

On long codes, Twilio handles the standard opt-out keywords by default: STOP, UNSUBSCRIBE, END, QUIT, STOPALL, REVOKE, OPTOUT and CANCEL. It blocks further messages to that number from the sender and sends the standard reply. START and UNSTOP opt the person back in. Any message you then try to send to an opted-out number fails with error 21610.

Twilio's block list is not your CRM, though. If the CRM still thinks a customer is reachable, other tools will keep trying, and staff will not know why texts stop arriving. We listen for opt-out and opt-in events and write them to the customer record, which is the one place consent is read from, and every outbound workflow checks consent there before calling Twilio.

WhatsApp through Twilio has its own rule. Twilio's documentation describes a 24-hour customer service window that opens when the customer messages you; inside it you can send free-form replies, and outside it only approved templates. Reminder flows on WhatsApp therefore need templates approved before go-live, and our [WhatsApp work](https://smallbaydigital.com/integrations/tools/whatsapp/) plans for that.

## Webhook security, delivery status and per-message cost

Twilio signs each webhook with an X-Twilio-Signature header, an HMAC-SHA1 of the URL and parameters keyed with your auth token. Twilio's own guidance is to validate with its SDK rather than write your own check, to pass every parameter received, and to use the exact URL Twilio called. A receiver that skips this can be fed fake inbound messages, so we never skip it.

Delivery status arrives later by status callback, outside the send response, so a message is not "sent" in your records until the callback says delivered or failed. Failed messages raise an alert with the error code; consent failures are written back to the customer.

Messaging is billed per segment. Twilio's US SMS pricing page in October 2026 lists $0.0083 per segment outbound and inbound on long code, toll-free and short code, plus carrier fees that differ by carrier and direction. Long messages and some characters split into more segments, so we keep templates short and plain and estimate monthly cost from your volumes during the audit.

## Quiet hours, frequency and testing

Small design choices decide whether customers welcome messages or report them. Every sequence we build sends within quiet hours set in the recipient's time zone. Each customer has a frequency cap across all workflows, so an order update and a reminder on the same day do not become four texts. Message text names the business in the first words and says how to stop.

Testing happens on test numbers and a separate configuration, never on live customers, and a new template goes to a small group before everyone. Every message is logged with the workflow that sent it, so when a customer asks why they received something, the answer takes one search.

## How a Twilio engagement with SBD works

Every engagement starts with an [Automation Audit](https://smallbaydigital.com/services/audit/) at $500, credited in full to your build. For Twilio we map who you message, why, how they consented, which countries are involved and which systems hold the customer record, then size registration and cost.

Workflow automation builds start at $1,000, internal tools at $3,000 and multi-module systems at $5,000. A typical first scope is appointment reminders with replies handled, or order updates with delivery status logged to the CRM. Work runs in two-week sprints with sixty days of hypercare, and care plans start at $50 a month. See the [pricing page](https://smallbaydigital.com/pricing/). Your Twilio account, numbers and usage are billed to you by Twilio.

## What you own when we finish

The Twilio account, phone numbers, registrations and messaging services are in your name, with subaccounts where you want to separate brands or environments. You receive a register of every workflow that sends messages, with its trigger, template, consent check and audience, plus a runbook for failures and opt-out disputes. Changing a message's wording is something your team can do; changing who it goes to comes back through review.

## At enterprise scale

Larger Twilio users are companies that message customers as part of operations: healthcare and service businesses sending reminders, retailers and logistics firms sending order updates, property managers and field service teams coordinating visits. In larger organisations ownership is often split between engineering, which holds the account, and operations or marketing, which decide what is sent.

- **Registration and compliance** We prepare brand and campaign registration with your legal details and real sample messages, document the opt-in flow, and keep the registration record with the workflow it covers.
- **Consent held in one record** Opt-outs and opt-ins from Twilio are written to the CRM, and every send checks consent there first, so no other tool keeps messaging someone who said stop.
- **Separation of brands and environments** We use subaccounts or messaging services per brand and a separate test setup, so a test never reaches a customer and costs are reported per business line.
- **Security of inbound traffic** Every webhook is validated with Twilio's SDK against the signature header, and auth tokens are stored in a secrets manager and rotated on a schedule.
- **Cost visibility** Message logs include segment counts and status, reported monthly by workflow, so a template that splits into extra segments shows up quickly.
- **Human approval** First contact with a customer and any message about money goes through a person's approval, in line with SBD's rule for anything that contacts customers for the first time.

### Engagements

- **Already on Twilio, messages being filtered.** Delivery rates dropped and nobody is sure the registration matches what is sent. We review brand, campaign and samples, fix the gaps and bring workflows in line with what was registered.
- **Already on Twilio, replies going nowhere.** Customers answer reminders and nobody sees it. We route inbound messages to the right person or ticket, log the thread on the customer record and alert on anything urgent.
- **Already on Twilio, opt-outs not reaching the CRM.** We sync opt-out and opt-in events to the CRM and make every sending tool check there, then backfill past opt-outs from Twilio so the record starts correct.

## Related

- [Case study: rental portfolio automations](https://smallbaydigital.com/case-studies/rental-portfolio-automations/)
- [Twilio portfolio](https://smallbaydigital.com/portfolio/tools/twilio/)
- [WhatsApp integrations](https://smallbaydigital.com/integrations/tools/whatsapp/)
- [WhatsApp and Airtable automation](https://smallbaydigital.com/integrations/whatsapp-and-airtable-automation/)
- [Customer onboarding](https://smallbaydigital.com/solutions/use-case/customer-onboarding/)
- [How much should an AI agent be allowed to do?](https://smallbaydigital.com/blog/how-much-should-an-ai-agent-be-allowed-to-do/)

## Sources

- Twilio Docs: What is A2P 10DLC? (registration, brand types, daily limits), checked 29 October 2026 <https://www.twilio.com/docs/messaging/compliance/a2p-10dlc>
- Twilio Docs: Advanced Opt-Out (default keywords, error 21610), checked 29 October 2026 <https://www.twilio.com/docs/messaging/tutorials/advanced-opt-out>
- Twilio Docs: Webhooks security (X-Twilio-Signature, validation guidance), checked 29 October 2026 <https://www.twilio.com/docs/usage/webhooks/webhooks-security>
- Twilio Docs: WhatsApp key concepts (24-hour customer service window, templates), checked 29 October 2026 <https://www.twilio.com/docs/whatsapp/key-concepts>
- Twilio: US SMS pricing (per-segment price, carrier fees), checked 29 October 2026 <https://www.twilio.com/en-us/sms/pricing/us>
