How a Zammad SMS channel with Twilio fits your helpdesk
Your support team needs SMS as a customer channel alongside email, and you want those messages to land in the same ticket queue your agents already work. Zammad receives inbound SMS through a webhook that Twilio calls, and it sends replies back through the same provider. The supported route covers the Twilio console webhook, the account SID and auth token, a sender number, and a destination group that decides which team owns each incoming text. MessageBird is the other supported provider, so the choice between the two is a commercial and account decision as much as a technical one.
Before you build, decide three things: which Twilio account and sender number customers will text, which Zammad group receives those conversations, and who holds the credentials. The account token is a secret that grants full access to the Twilio account, so store it in your secrets process and limit who can view it in Zammad. The webhook URL must be reachable from Twilio over HTTPS, which ties this channel to the reverse proxy and certificate setup of your Zammad host. Carriers and sender registration rules differ by country, so confirm with Twilio which number types your customers' countries allow before you promise SMS support to them.
Exact menu names and field labels for the SMS channel depend on the Zammad version you install, and no connector-specific source was supplied for this page. Confirm each step against the Zammad admin documentation for your installed version, and test with a real inbound message to a non-production number before you advertise the number to customers. Ask your Zammad partner or internal owner to document the webhook URL, the destination group and the sending rules in your runbook, so the channel can be recovered if the number or credentials change.
What you need before configuring the Twilio channel
The Twilio channel depends on a few components being in place before any configuration starts. Most delays come from the public endpoint, the Twilio number, or a Zammad instance that is behind on patches, so confirm these four to six items with the people who own each one.
A current, patched Zammad
Run a self-hosted Zammad on a release line that still receives fixes. Zammad 7.2 shipped on 23 September 2026, with security releases 7.2.1 on 6 October 2026 and 7.2.2 on 8 October 2026. The 6.5 line also received a security release, 6.5.5, on 15 October 2026. Confirm which line you run and whether it includes the security releases before you connect a public number, because the webhook exposes the helpdesk to inbound traffic from the internet.
Zammad releasesA public HTTPS endpoint for the webhook
Twilio must reach the Zammad webhook URL over HTTPS from the public internet, so the instance needs a DNS name and a valid certificate that Twilio can verify. Internal-only hostnames or self-signed certificates will cause inbound SMS to fail silently. Decide early whether Zammad sits behind a firewall rule, a load balancer or a reverse proxy, and confirm that the path is open for the webhook route.
Reverse proxy that passes webhook requests
Zammad supports Nginx or Apache as its reverse proxy. The proxy must forward the inbound POST request from Twilio to the Zammad application without rewriting the path, blocking the request body or applying rules that treat unknown callers as bots. Test the route with a sample request before you configure the channel, and check that any web application firewall in front of Zammad allows the request.
Software requirementsTwilio account and SMS-capable number
You need a Twilio account, the account SID and auth token from the Twilio console, and a phone number that supports SMS. Confirm with Twilio which number types and countries you can use for your expected traffic, since sender rules differ by region and some number types may not carry the messaging you need. Store the auth token in your secrets manager rather than in tickets or shared notes.
Backing services and an administrator
Zammad requires PostgreSQL 15 or newer to store its content and Redis 7 or newer for realtime websocket communication. Confirm both versions in your environment, since older database or cache versions fail after deployment. Also prepare an administrator account in Zammad that can create channels, groups and triggers, and make sure the person holding it is available during the first test.
Zammad requirementsDestination group and a test handset
Create the Zammad group that will own incoming SMS tickets before configuring the channel, and assign agents who will answer them. Then prepare at least one physical handset on a carrier that can send and receive messages to your Twilio number, so you can test inbound and outbound messages end to end. Without a group and a handset, the channel can be configured but cannot be verified.
How an SMS travels between the customer, Twilio and Zammad
The flow starts when a customer texts the Twilio number. Twilio posts the message to the Zammad webhook URL configured in its console, and the request passes through the reverse proxy before reaching Zammad, which creates or updates a ticket in the destination group. When an agent replies, Zammad uses the Twilio account SID and auth token to send the SMS back through Twilio to the customer. Check that the webhook is reachable over HTTPS from the public internet and that the token is only held by the Zammad application.
Inbound and outbound SMS paths across the trust boundary between Twilio and Zammad.
Configuring the Zammad SMS channel with Twilio in order
This sequence takes a Zammad installation from a Twilio phone number to a working SMS channel, where inbound texts create tickets in the right group, agents reply by text, and triggers send SMS notifications. Each step ends with a check so you can confirm the channel works before you rely on it.
Create or select the destination group
A Zammad administrator selects the group that will own tickets created from SMS, or creates a new group for the purpose. Confirm that the agents who will answer texts are members of that group and that their permissions allow them to view and change its tickets. Done means you can name the group, and an agent in it can open an existing ticket from that group in the agent workspace. Keep the group name in your notes, because you will select it again when you set up the channel.
Add the Twilio channel and enter credentials
In the Zammad admin area, open the channel settings for SMS and add a Twilio account. Enter the account SID, the auth token from your Twilio console, and the Twilio sender number that customers will text, then select the destination group from the previous step. Exact field labels can differ between Zammad versions, so confirm them against your installed version's admin documentation. Done means the channel is saved and shows as configured, with no credential error on save. Store the auth token in your secrets process, not in a shared document.
Copy the webhook URL from Zammad
After the Twilio channel is saved, Zammad displays a webhook URL for that channel. Copy the full URL exactly, including any path segments, and confirm that it uses HTTPS and a hostname that Twilio's servers can reach from the internet. If your Zammad sits behind a restricted network or a proxy that blocks inbound requests, resolve that before the next step. Done means you have the URL saved, and you have confirmed the hostname resolves publicly.
Paste the webhook into the Twilio console
In the Twilio console, open the phone number you configured as the sender and find its messaging settings for incoming messages. Paste the Zammad webhook URL into the field for when a message comes in, and confirm the HTTP method that Zammad's documentation specifies for your installed version. Save the configuration. Done means the Twilio number shows the Zammad URL and method in its incoming message settings, and the save completes without validation errors.
Send a test SMS from a handset
From a mobile phone that is not an agent account, send a text message to the Twilio sender number. Use a short, identifiable message such as a test phrase so you can find it easily. Wait for the message to arrive in Zammad, and check the channel's logs or the admin area if nothing appears within a short time. Done means the test text is received by Twilio and Zammad accepts the request, which you can confirm in the next step.
Confirm the ticket lands in the right group
Open the agent workspace and find the ticket created from your test text. Check that the ticket is assigned to the destination group you selected, that the customer phone number appears as the sender, and that the message body matches what you sent. Done means the ticket exists in the correct group with the expected sender and content. If it is in the wrong group or missing, review the channel's group setting before you continue.
Reply by SMS and confirm delivery
As an agent, open the test ticket and send a reply through the SMS channel from the agent workspace. Confirm that the reply is recorded in the ticket history as sent through the SMS channel, then check the test handset to see whether the message arrived. Done means the reply appears in the handset and the ticket shows the outbound message with no send error. Keep in mind that carrier delivery depends on the provider and the destination, so check Twilio's message log if the reply is not received.
Add and test SMS notifications with a trigger
Create a Zammad trigger that sends an SMS notification when a chosen event happens, such as a ticket update in a specific group, and limit its conditions so it fires only for the intended tickets. Confirm exact trigger labels and notification options against your installed version. Then update a test ticket to fire the trigger and check the handset and the trigger's execution record. Done means the notification arrives once for the test event, and a second unrelated update does not send a duplicate text.
How Twilio message data maps to Zammad tickets and customers
This table traces each piece of Twilio message data to where it lands in Zammad, who sets that value, and what to confirm in your running version. Read it before configuring the channel so you know which values come from the customer, which come from Twilio, and which you choose as administrator. Attribute and setting names should be checked in the Zammad admin documentation for your release rather than assumed.
| Twilio data or step | Where it lands in Zammad | Who decides the value | What to confirm in your version |
|---|---|---|---|
| Sender number (From) | Customer identity, matched to or created as a customer user record | The customer, through their phone | Confirm how the customer phone attribute is named and whether matching uses the full E.164 format |
| Destination number (To) | The SMS channel entry that receives the message, which determines the group | Twilio, from the number you purchased | Confirm the sender number in the channel settings matches the Twilio number exactly, including country code |
| Message body | Body of the ticket article, or a new article on an existing ticket | The customer | Confirm how long messages are split or truncated and how multi-part SMS is reassembled |
| Twilio account SID and auth token | Credentials stored in the channel configuration | The administrator, from the Twilio console | Confirm where the token is stored and who can view it in the admin interface |
| Inbound webhook URL | Endpoint Zammad exposes for Twilio to post message events | The administrator, set in the Twilio number configuration | Confirm the exact path in the admin docs and that the public HTTPS address resolves to your Zammad host |
| Open ticket for the same customer | Reply added to the existing ticket when one is open, otherwise a new ticket | Zammad, based on the customer record and channel rules | Confirm the matching rule and how closed tickets affect a new inbound text |
| Agent reply | Outbound article on the ticket, sent through the SMS channel | The agent, who writes the reply | Confirm the agent reply uses the same sender number that the customer texted |
| Reply destination | The customer's stored phone number, sent back via the Twilio API | The customer's record in Zammad | Confirm the number format stored on the customer is accepted by Twilio for delivery |
| SMS notification from triggers | Outbound message sent when a trigger condition is met, such as a state change | The administrator, in trigger conditions and recipients | Confirm which trigger attributes and recipient fields are available for SMS in your release |
Sending SMS notifications from Zammad triggers
Every SMS notification is a trigger decision, so the team should decide each one before it goes live. Zammad sends text messages from the same trigger logic it uses for email, so the team chooses which ticket events send a text, which recipient receives it, and under which conditions it fires. Typical candidates include a ticket being created through the SMS channel, a state change to a pending or closed status, or an agent reply. Each candidate should be written down with its trigger condition, its recipient (the customer, the ticket owner or a group contact), and the exact wording. Triggers that were written for email often fire on every article or every update, and that pattern translates poorly to a phone, so the email trigger set should not be copied across unchanged.
The main risks are noisy and duplicate messages, and messages the customer never asked for. A customer who receives a text for each internal note, each automatic reminder or each bounce from a related workflow will treat the number as spam and may stop engaging with the channel. Test the triggers against a sandbox ticket and a set of real-world sequences before rollout, and confirm that a single action does not fire two overlapping triggers. Limit outbound texts to events the customer requested, such as a status update they opted into during the conversation. Check the consent and opt-out expectations in every market the helpdesk serves, and confirm with your legal or privacy team how opt-in is recorded and how a customer stops messages. Ask Twilio how it handles opt-out keywords for your sender type, and make sure your Zammad triggers respect a suppressed or opted-out state.
Message volume is the main cost driver, and Twilio sets the per-message charges. Zammad does not add a fee for sending SMS, but each outbound message is billed by Twilio, so cost grows with the number of notifications, the length of each message and the number of destination countries. Confirm the current per-message and sender-number rates on Twilio's own pricing before rollout, because this guide does not state them. Estimate the monthly volume from your ticket history and trigger design, then compare it with the budget owner's limit. Review the trigger list after the first few weeks, since a single poorly scoped trigger can drive most of the bill.
Choosing between Twilio and MessageBird for SMS
Twilio is the provider this guide follows. Setup needs a Twilio account, an account SID and auth token entered in Zammad's SMS channel settings, a sender number provisioned in Twilio, and an inbound webhook pointing at your Zammad instance so that incoming messages create or update tickets.
- Credentials: the account SID and auth token from the Twilio console, stored in Zammad's channel configuration. If a token is exposed, rotate it in Twilio and update Zammad to match.
- Webhook: the Zammad callback URL set on the phone number's messaging configuration in the Twilio console. Your Zammad host must be reachable over HTTPS from the public internet.
- Sender number: a purchased or ported number with SMS capability for the countries you serve. Confirm capability per number, since voice-only and SMS-capable numbers are not interchangeable.
- Destination group: the Zammad group that receives inbound messages, so ticket ownership follows your team structure.
- Coverage and contract: confirm which destination countries your number can reach, any sender registration rules that apply, and whether your existing Twilio account and billing arrangement cover the expected message volume.
Before you send a test message, confirm that the number's messaging webhook resolves to your Zammad host.
MessageBird is the other SMS provider Zammad supports. It uses its own access key and sender configuration, and its inbound routing is set in its own dashboard. The setup follows the same general pattern as Twilio, but the screens, terminology and credential types differ, so do not assume the Twilio steps map one to one.
- Credentials: the access key from the MessageBird dashboard, entered in Zammad's SMS channel settings and limited to the workspace that owns the sender.
- Webhook: the inbound destination set in the MessageBird dashboard for your number or flow, pointing at Zammad over HTTPS.
- Sender provisioning: the originator or number created inside MessageBird for the countries you serve, with SMS and inbound reply capability checked for each.
- Destination group: set the same way as in Twilio, and confirm it matches your routing design before the channel goes live.
- Coverage and contract: confirm regional coverage and sender rules for each country, the terms of any existing MessageBird agreement, and that the provider is still listed as supported in the Zammad admin documentation for your version.
Get written confirmation of inbound and outbound SMS support for your country mix from your provider's account team before you commit.
The choice usually depends on which provider already holds your contracts, which countries your customers text from, and what your operations team has run before. Do not select a provider on the assumption that both offer the same behavior in Zammad. Work through the questions below and record the answers before you choose.
- Existing contracts: if your organization already has a billing relationship and procurement approval with one provider, that often settles the question first.
- Country coverage: test sender availability and inbound SMS for every country your customers use, and record which provider covers each one.
- Operational ownership: decide who manages the console, credentials, number renewals and webhook changes, and whether that team already works in one provider's tools.
- Feature needs: list the specific behavior you require, such as sender types, delivery reporting or message handling, and verify each item against the current documentation for both providers.
- Supported list: confirm the current supported provider list in the Zammad admin documentation before deciding, since supported options can change between releases.
Record the chosen provider and the reasons in your change record so the next upgrade review can revisit the decision.
Securing the Twilio credentials and the public webhook
The SMS channel links two systems with a long-lived secret and a public endpoint, so the risk sits in who can read the Twilio credentials, who can reach the webhook, and who can read the messages it stores. The controls below work together: restrict the secrets, verify the traffic, limit visibility inside Zammad, and keep the audit trail current as staff change.
Store the SID and token in Zammad only
Enter the Twilio account SID and auth token only in Zammad's channel settings, and limit which administrators can open that screen. Do not copy them into shared runbooks, tickets, chat threads or configuration files kept in version control. Ask who can view the settings page on your instance, since any administrator who can open the channel may be able to read the stored token. Document where the values live so rotation later is a single, known change.
Named administrators and two-factor in Twilio
Limit the Twilio console to named administrators who need to change numbers or webhooks, and require two-factor authentication on every account. Shared logins make it impossible to tell who changed a webhook URL or read the token. Review the console user list at the same time as your Zammad admin list, so a person who left the helpdesk does not keep access to the phone numbers that route customer messages.
Serve the webhook only over HTTPS
The Twilio webhook URL must be reachable over HTTPS through your reverse proxy, with a valid certificate and no plain HTTP fallback. Terminate TLS at the proxy you already run for Zammad, and confirm that the path used for the SMS webhook is routed to the application and not cached or rewritten. Test the full path from outside your network, since an internal-only test can hide proxy rules that break delivery.
Verify that requests come from Twilio
Before the endpoint trusts an incoming message, confirm that the request was signed by Twilio. Twilio signs webhook requests with your auth token, so check the signature against the exact URL Twilio called. Ask your Zammad version and the SMS channel documentation for the signature handling it provides, and test with a forged request. Anyone who can reach the public URL can otherwise post fake customer messages into your helpdesk.
Limit who sees SMS content
SMS tickets carry the same customer data as email, so use Zammad group permissions to decide which agents can open tickets that arrive on the Twilio number. Route the channel to a destination group and give access only to the agents who handle that queue. Check the result with a test agent in each role, because a ticket visible in a group view or search may still expose the message text to users with broader access.
Rotate the token and review the audit trail
Rotate the Twilio auth token on a set schedule and whenever someone with access leaves or changes role. Update the value in Zammad immediately after rotating in Twilio, or inbound and outbound SMS will fail. Review who changed the channel settings and webhook configuration, and keep that record with your other admin audit logs. Treat SMS content as personal data under the same retention rules you apply to email tickets, so that deletion and retention periods cover both channels.
Common SMS channel failures and how to fix them
This table pairs each common Zammad SMS failure with its likely cause and a check you can run to fix it. Work down the rows in order, since an unreachable webhook or wrong credentials will hide problems further along. Confirm log file locations and test steps against the operations documentation for your Zammad version before you rely on them.
| Failure | Likely cause | Fix and check |
|---|---|---|
| Inbound SMS never appears | Webhook URL is not reachable over HTTPS, or the reverse proxy blocks the callback path | Open the webhook URL from outside your network and confirm a valid HTTPS response. Check proxy access logs for Twilio requests and allow the path through. |
| Webhook errors in the Twilio console | URL pasted into the wrong Twilio setting, or the HTTP method does not match what Zammad expects | Copy the webhook URL from the Zammad SMS channel setup into the messaging webhook field for the sender number. Confirm the method in the Twilio configuration and send a test SMS. |
| Channel fails to authenticate | Wrong account SID or auth token, or a rotated token that Zammad still holds | Re-enter the account SID and auth token from the Twilio console, save, and send a test SMS. Review the Zammad application log for authentication errors at the time of the test. |
| Outbound replies fail or are rejected | Sender number is not SMS-capable or is not assigned to this channel | Check the number's capabilities in the Twilio console and confirm it is the sender selected in the Zammad channel. Send a test reply and read the Twilio message log for the error code. |
| Messages land in the wrong group | Destination group or routing rule does not match the channel's intended group | Review the group set on the SMS channel and any email filters or triggers that move tickets. Send a test SMS, then confirm the ticket's group in Zammad and the routing action in the logs. |
| Customer does not receive the reply | Customer number is in an unsupported format, or the message was sent from a number the carrier blocks | Confirm the customer number uses international format. Check the delivery status in the Twilio message log and resend to a number you control. |
| SMS notifications are not sent | Trigger conditions do not match the ticket state, or the trigger targets the wrong channel | Test the trigger on a ticket that meets every condition. Check the trigger's conditions and recipients, then review the Zammad logs for trigger execution at the time of the change. |
Questions buyers ask about the Zammad Twilio SMS channel
How much effort does a Zammad Twilio SMS setup take?
The core configuration is small: a Twilio account SID and auth token, a sender number, a destination group and a webhook URL pasted into the Twilio console. The effort grows with what sits around it. Teams that already run a reachable HTTPS Zammad instance, have a Twilio number ready and have decided who answers texts will finish faster than teams that must first set up the endpoint, procurement and routing rules. Expect the time to go into testing with real handsets, verifying how replies map to open tickets and agreeing on notification triggers, not into typing the credentials. Ask any provider to break the effort into these phases in the written scope.
Can an internal administrator set up Zammad SMS without outside help?
Yes, a Zammad administrator who is comfortable with the Twilio console and with the Zammad channel settings can complete the basic setup alone. The risk sits in the parts that are easy to miss: confirming the webhook is reachable over HTTPS from the internet, testing inbound and outbound messages from several handsets, checking how replies join the customer's open ticket, and setting notification triggers so agents are not flooded. Teams with no Twilio experience, or those that must document the setup for an auditor, often hand the build and test to a partner while keeping ownership of the Twilio account. Whichever path you choose, confirm who holds the Twilio credentials and who can rotate them.
What does the customer need to provide for a Twilio SMS channel?
Before work starts, the customer should provide the following:
- A Twilio account with an SMS-capable sender number, and the account SID and auth token for the channel.
- A Zammad instance reachable at an HTTPS address that Twilio can call, with the certificate valid and the webhook path open through any firewall or reverse proxy.
- A list of test handsets on carriers the organization uses, so inbound and outbound messages are verified on real networks.
- A destination group design: which team receives texts, who owns escalations and who covers out-of-hours messages.
- Written decisions on consent wording, message retention and who may read SMS content.
Ask the provider to confirm each item in the written scope, since missing access to the Twilio account is the most common cause of delay.
How long does it take to reach a tested SMS channel?
The duration depends on the scope agreed in writing, so no fixed figure applies here. The main variables are how many numbers and destination groups are involved, whether the HTTPS endpoint already exists, how many trigger and notification rules are needed, and how many rounds of testing with carriers and handsets the team requires. A single number with one group and an existing endpoint is a much smaller project than several numbers feeding multiple teams with compliance sign-off. Request a quote that lists the phases, the dependencies on your Twilio and network teams and the acceptance tests that mark the channel as ready for production.
Are Twilio message charges included in any Zammad price?
No. Zammad's self-hosted support subscriptions and hosted plans cover the Zammad software and vendor support, but SMS message fees, number rental and carrier surcharges are billed by Twilio under your own account. Those charges recur monthly or per message and scale with inbound and outbound volume, so model them from your expected message count and the Twilio price list for your destination countries. DeployOpen's implementation quote covers the work to configure and test the channel, and it does not include Twilio usage. Ask any provider to show the Twilio charges separately from the services fee.
What changes if we choose MessageBird instead of Twilio?
The Zammad concepts stay the same: a provider account, a sender number, a destination group and a webhook that brings replies into tickets. The provider-side steps, credential names and console screens differ, so the setup checklist, test plan and vendor-facing documentation must be rewritten for the provider you pick. Your commercial terms also change, because message pricing, number ownership and regional coverage belong to that provider. Confirm which provider your carriers and countries are supported on before you select one, and make sure the test plan uses handsets on those same networks.
How do SMS consent and retention rules apply to Zammad tickets?
SMS is personal data once it identifies a customer, so the organization must decide the lawful basis for messaging, how opt-in and opt-out are recorded and how long message content is kept. Zammad stores SMS as ticket articles, so retention settings and deletion processes apply to them just as they do to email. Your privacy and legal teams should define the consent wording, the stop keywords your agents honor and the retention period before go-live. The provider also keeps its own logs under its terms, so review those with your compliance team. DeployOpen can prepare configuration and evidence for these controls, but it does not provide legal advice or issue compliance certifications.
How DeployOpen scopes and delivers the SMS channel
DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and the Zammad SMS channel is scoped the same way. The work starts from a written scope that names the Twilio account, sender numbers, destination groups and notification rules before any configuration begins.
How we scope
- Written scope names the Twilio account, sender number, destination group and webhook reachability for your Zammad instance.
- Scope lists which SMS notification triggers and agent roles are in and out, so the build has a fixed boundary.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; a quote follows from that scope.
How we build
- The Twilio webhook, account credentials and sender configuration are set up inside your Zammad instance and your Twilio console.
- Inbound and outbound SMS are tested end to end with test numbers, including replies that attach to the customer's open ticket.
- Trigger-based SMS notifications are configured and checked for loops, duplicate messages and unintended recipients before go-live.
How we hand over
- Handover documentation records the webhook URL, sender numbers, destination groups, trigger logic and where each credential is stored.
- Your team receives a test record covering each inbound, outbound and notification path, so later changes can be checked against it.
- Credential ownership, rotation responsibilities and Twilio account access are confirmed with your team before the engagement closes.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, including checks after Zammad or Twilio changes.
- Retesting covers the SMS path after Zammad upgrades, Twilio number changes and any new notification triggers you add.
- Ask for the support scope, response expectations and change process in writing so the retainer boundaries are clear before signing.

