Telnyx SMS Gateway - Telnyx SMS Integration and Telnyx Connector for Odoo SMS
by Modvanta https://modvantaapps.tech
Odoo
$ 28.92
In-App Purchases
Odoo SMS on the Telnyx Messaging API, with every webhook checked against your Telnyx public key
Telnyx Messaging v2 | Ed25519 signed webhooks | Two way SMS | Number pool | Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Choose Telnyx in Settings > SMS and the SMS Odoo already sends (the SMS button on a contact, SMS templates, automation rules and SMS Marketing) go out through your Telnyx account. Telnyx calls Odoo back when the SMS is sent, delivered or fails, and when a customer replies. Odoo checks the Ed25519 signature on every one of those calls and refuses the rest.
| All Odoo SMS: chatter SMS, templates, automation rules and SMS Marketing use Telnyx once it is the provider. Other companies in the same database can stay on Odoo IAP. | |
| Any Telnyx sender: a +E.164 long code, a toll-free number, a short code, an alphanumeric sender ID, or no sender at all to use the number pool of your messaging profile. | |
| Signed webhooks: telnyx-signature-ed25519 and telnyx-timestamp are checked against the public key from your portal. Unsigned calls, changed bodies and calls older than 5 minutes get a 403. | |
| Delivery status: queued, sent, delivered, sending_failed and delivery_failed update the SMS and the Odoo notification. Out of order events never turn a delivered SMS back. | |
| Status check: SMS that still have no final status after 6 hours (you choose) are looked up with the Telnyx API. | |
| Replies and STOP: inbound SMS land on the contact chatter. STOP, CANCEL, END, QUIT and the other words you list put the number on the Odoo SMS blacklist. | |
| Errors in words: Telnyx codes such as 40010 (not 10DLC registered), 40300 (blocked after STOP), 40333 (spend limit) and 40012 (invalid number) are shown as Odoo failure reasons. | |
| Cost and credit: cost per SMS from Telnyx, balance and available credit every 30 minutes, and an email alert below your amount. | |
| Retry and log: SMS refused during an outage or rate limit are sent again up to three times. The log keeps status, error code, parts, cost and whether the last webhook was signed. |
Who it is for
US and Canada senders on 10DLC, toll-free or short codes who want Odoo SMS on their own Telnyx numbers. | Field service and clinics sending visit confirmations and taking "C to confirm" replies. | Teams that care about webhooks and want proof each status update really came from Telnyx. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| SMS provider | Odoo IAP or Twilio | Telnyx Messaging API v2 with your key |
| Delivery status | For IAP and Twilio | Signed Telnyx webhooks, plus an API lookup |
| Customer replies | Not for Telnyx | On the contact, STOP to blacklist |
| Number pool, alphanumeric sender | No | Through your messaging profile |
Screenshots
Screenshots from a test database in Sample Mode (nothing was sent to Telnyx).
1. Telnyx in Settings > SMS
API key, sender, messaging profile, the public key for signed webhooks, the webhook URL and the balance.

2. SMS log
Delivered, failed and received SMS with status, cost and the signed flag.

3. A failed SMS
Telnyx said delivery_failed with error 40008 Undeliverable.

4. Reply on the contact
Jordan answered "C" and the reply is in the chatter.

5. STOP reply
A STOP reply is flagged and the number goes on the SMS blacklist.

6. Normal Odoo SMS
The usual SMS window; the message leaves through Telnyx.

7. Test SMS
Send one SMS to your phone before going live.

How it works
| 1 | In the Telnyx portal create an API key (V2), copy your public key, and put your number on a messaging profile. |
| 2 | In Odoo open Settings > SMS, choose Telnyx, paste the key, the public key and your sender, and press Test Connection. |
| 3 | If Odoo runs on https, each SMS tells Telnyx where to send its webhooks. Otherwise paste the webhook URL on the messaging profile. |
| 4 | Send SMS as usual. Statuses, costs and replies come back by themselves. |
Settings
| API Key / Public Key: readable by system administrators only. Without the public key Odoo refuses all webhooks. | |
| Sender and Messaging Profile: sender alone, profile alone (number pool), or both for an alphanumeric sender ID. | |
| Failover URL: optional second https address for Telnyx. | |
| Check status after: 6 hours by default, 0 to switch off. | |
| Opt-out words: STOP, STOPALL, UNSUBSCRIBE, CANCEL, END, QUIT by default. | |
| Low balance alert: on available credit, with an email address. | |
| Sample Mode: try the module without a Telnyx account. |
FAQ
Why are my webhooks refused with 403?
The public key is missing or wrong, or the server clock is more than 5 minutes off. Copy the key again from Keys & Credentials > Public Key.
Do I need 10DLC?
For US long codes, yes, that is a carrier rule. If a number is not registered Telnyx answers 40010 and Odoo shows it on the SMS.
Does STOP block every SMS?
The number goes on the Odoo SMS blacklist, which mass SMS and SMS Marketing skip. Telnyx itself also blocks the pair and answers 40300, which Odoo shows as "recipient opted out".
Does it send MMS or voice?
No. Odoo SMS is text, and this module uses the Telnyx Messaging API for SMS only.
Can two companies use two Telnyx accounts?
Yes. Keys, sender, webhook address and log are per company.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOn PremiseOdoo.sh
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 1090 |
| Technical Name |
mdv_sms_telnyx |
| License | OPL-1 |
| Website | https://modvantaapps.tech |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module