OdooWiki OCA HUB
SMS License: AGPL-3

Implementation of Twilio API for sending sms. This module depend of odoo native sms module it only implement Twilio as provider.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

This module lets Odoo send SMS messages through Twilio instead of the default provider. Users configure Twilio credentials in Odoo and can retrieve their Twilio phone numbers.

This module adds Twilio as an SMS provider in Odoo. It extends the existing SMS functionality so that when Twilio is configured, outgoing SMS messages are sent via the Twilio API.

  • In the SMS provider settings (under Settings > Technical > SMS or similar), a new 'Twilio' provider option appears. When selected, a 'Twilio account' section shows fields for Twilio credentials: a toggle for Production Environment, test and production Account SID and Auth Token, and a Twilio Number selection.
  • A button 'Retrieve Twilio Numbers' fetches the phone numbers from your Twilio account and stores them in Odoo. These numbers are then available for selection as the sender number.
  • The module computes and displays your Twilio account balance.
  • When sending SMS, the system uses the configured Twilio number as the sender. If sending fails, the error message from Twilio is stored on the SMS record and shown in the SMS form view.
  • Batch sending is not supported with Twilio; each SMS is sent individually.
  • The module adds a new model twilio.phone.number to store Twilio phone numbers, with unique constraints on SID and phone number.
  • It also adds an error_detail field to sms.sms to show Twilio error messages.

This module is for users who want to use Twilio as their SMS gateway in Odoo.

Models and fields (4)
  • sms.api · extends an existing model
  • sms.sms · extends an existing modelerror_detail
  • iap.account · extends an existing modelprovider, twilio_number_id (Twilio Number), twilio_auth_token, twilio_account_sid (Twilio Account SID), twilio_production_env (Production Environment), twilio_balance_account (Account Balance), twilio_test_auth_token (Twilio TEST Auth Token), twilio_test_account_sid (Twilio TEST Account SID)
  • twilio.phone.number · new modelsid (SID), name (Friendly Name), phone_number, has_sms_enabled (SMS Enabled)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/connector-telephony.

terminal Installation and usage

OCA documentation · Odoo 16.0

To configure this module, you need to:

  • Go to settings > technical > IAP Account
  • Create a new account with TWilio as provider
  • Fill your account information.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.