Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 3644 |
Technical Name |
zehntech_rest_api |
License | OPL-1 |
Website | https://www.zehntech.com/ |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 3644 |
Technical Name |
zehntech_rest_api |
License | OPL-1 |
Website | https://www.zehntech.com/ |
Versions | 16.0 17.0 18.0 |



Odoo REST API
Odoo REST API Integration module provides a secure and high-performance REST API for Odoo. It enables external systems to perform CRUD operations on Odoo data using a robust, token-based authentication system. Key features include fine-grained access control for specific models and operations, as well as optional rate limiting (throttling) and key expiration. For developers, the app offers a developer-friendly Swagger UI and a downloadable Postman Collection for efficient API testing. This backend-only solution ensures seamless integration without any impact on the Odoo front-end.
Please run this command before installing the addon - pip install PyJWT==2.10.1

Key Features
Secure Token-Based Authentication
Complete CRUD Operations via API Keys
API Key Access with Expiration and Throttling
Model-Wise Access Control for API Keys
Interactive Swagger (Open API) Documentation Interface
Documentation for Postman Endpoints Collection
Comprehensive API Call Logging
Dynamic Pagination for Large Datasets



Key Features
About Zehntech
Zehntech is a leading Odoo custom development company, empowering businesses across industries with tailored ERP solutions. With a strong team of 50+ skilled Odoo professionals, ranging from 2 to over 10+ years of experience, we bring deep expertise and innovation to every project. Over the years, we have successfully developed 50+ Odoo apps and themes, helping clients streamline operations, enhance productivity, and achieve digital transformation. Our Odoo services include Custom Odoo Development, Implementation, Customization, Support and maintenance.
115+
Happy Customer
120+
Expert Professionals
30%
Time Saved
12+
Countries We Serve
FAQs
Advanced Stock Move Report

Our Services

Odoo Customization

Odoo Migration Services

Odoo Implementation

Odoo Support & Maintenance

Odoo Website Development

Odoo Theme Development

Odoo Mobile App Development
Odoo REST API
The Odoo REST API module provides a secure, high-performance REST API for Odoo, enabling external systems—like websites, mobile apps, or third-party platforms—to interact with Odoo models. It supports all CRUD operations with robust, token-based authentication, fine-grained access control, and advanced features such as throttling and key expiration. Designed for developers, it includes Swagger UI and a Postman Collection for easy integration and testing.
Table of contents
Key Features
Secure Token-Based Authentication - Protect API access with unique API keys and optional user tokens - Ensure only trusted clients and authenticated users can interact with the API
Complete CRUD Operations via API Keys - Supports:
- GET – View or search records
- POST – Create records or execute methods
- PUT – Update records
- DELETE – Remove records
- Respects Odoo model access rights and security rules
API Key Access with Expiration and Throttling - Set validity period (e.g., 30 days) for API keys - Limit API requests per user per day to prevent misuse and manage performance
Model-Wise Access Control for API Keys - Allow full access to all models or restrict to selected models - Configure per-model CRUD permissions for secure, controlled integration
Interactive Swagger (OpenAPI) Documentation Interface - Explore API endpoints visually via Swagger UI - Perform live testing with authorized tokens and sample data
Documentation for Postman Endpoints Collection - Download ready-to-use Postman collection with authentication setup - Includes sample requests, payloads, and parameter details
Comprehensive API Call Logging - Track all API interactions for auditing and debugging - Store method, endpoint, user, and timestamp information
Dynamic Pagination for Large Datasets - Fetch large datasets efficiently using paginated API responses - Improve performance when retrieving bulk data
Multi-language Support - Translations included for:
- 🇩🇪 German
- 🇫🇷 French
- 🇪🇸 Spanish
- 🇯🇵 Japanese
Summary
Easily integrate your Odoo instance with any external platform using this REST API Odoo module. It supports all CRUD operations on Odoo models with secure, token-based authentication. Admins can manage API keys, set model-level permissions, and enable advanced features like throttling and key expiration. The app also includes Swagger UI and a Postman Collection to simplify development and testing.
Installation
- Copy the module folder to your Odoo custom_addons directory.
- Restart the Odoo server and update the app list.
- Search for Odoo REST API and install it.
- Enable developer mode to configure API keys, access rights, and token settings.
How to use this module:
- Navigate to Settings > Technical > Web Services > Webservice Accounts - Click Create and set up the API key - Enable User Authentication if per-user tokens are required - Select All Models or define Specific Models with CRUD permissions
- Navigate to Users > User Profile > User Authentication tab - Select the Webservice Account - Click Generate Token to create a secure login token
- Explore and test the API: - Go to Settings > Technical > Web Services > REST API Document - Use Swagger UI for live API testing - Download the Postman Collection for local testing
- Start using API endpoints: - GET /api/{model_name}/{id} - POST /api/{model_name}/create - PUT /api/{model_name}/{id} - DELETE /api/{model_name}/{id}
Change logs
[1.0.0] * Added [13-08-2025] – Initial release with CRUD endpoints, authentication, API key management, model-level permissions, throttling, key expiration, Swagger UI, Postman collection, logging, pagination, and multi-language support.
Support
Zehntech Technologies
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