Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. API Connector Hub v 18.0
  4. Sales Conditions FAQ

API Connector Hub

by Awins
Odoo

$ 43.83

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Apps / Awins / api_connector_hub

API Connector Hub

One place to keep API logins, see every request your connectors send, retry the ones that failed and receive signed webhooks. Payment, shipping and cloud add-ons build on it.

Install›Configure›Use
/odoo/action-api_connector_hub.action_api_connection_log/4 · signed in as admin
API Connector Hub in the Odoo backend
Odoo17.0, 18.0, 19.0, 20.0
EditionsCommunity, Enterprise
Works withDiscuss (mail)
LicenceOPL-1, 40 EUR
Tests15 automated, run on every version
Moduleapi_connector_hub

The situation

Each connector module (a payment gateway, a carrier, a cloud drive) ships its own API key field, its own token refresh, its own try/except around requests and its own log, or none. When the carrier returns 503 on Friday evening, the label is simply not created and nobody knows until Monday. Webhooks from the gateway are checked in one module and not checked in the next.

API Connector Hub holds that plumbing once. A connection stores the base URL, the login and the retry rules. Code calls connection.request(...) and gets a dict back, while the hub writes a log line with secrets hidden, schedules a retry when the service is busy and stops when it is not worth trying again. Incoming webhooks get a secret URL, a signature check and a server action.

What it adds

Connections
Connection with five login types
None, API key (in a header or in the query string), bearer token, basic user/password and OAuth 2 client credentials. The OAuth token is cached until 30 seconds before it expires, and fetched again once if the service answers 401.
Without it: Every connector module stores and refreshes its own credentials.
Test Connection
One click check
Calls the Test Path (for example /ping) and shows the result as a notification. With no path set on an OAuth connection it only asks for a token.
Request Log
Log with secrets hidden
Method, URL, HTTP status, attempts, duration and the linked document reference (for example S00042). Authorization, API key, password and token values are replaced by ******** in headers and in JSON or form bodies, and long bodies are cut at 20,000 characters. A request can carry text, form data, JSON or a binary body such as a file upload; binary bodies show as (binary body, N bytes).
Waiting to Retry
Retry queue with doubling delay
Timeouts, connection errors and HTTP 408, 425, 429, 500, 502, 503 and 504 are tried again after 60, 120, 240 seconds and so on (all adjustable per connection), up to Max Retries. A Retry-After header is respected, capped at one hour. A 404 or 422 is not retried. When the last attempt fails, a message is posted in the connection chatter.
Without it: A failed call is lost unless the connector author wrote a queue.
Send Again
Manual resend
Button on a failed or waiting request. The body is kept until the request succeeds, so a rejected POST can be corrected on the other side and sent again as it was, or the log purge removes it. Neutralization clears the kept bodies.
Webhooks
Signed incoming webhooks
Every endpoint has its own secret URL, an HMAC SHA-1, SHA-256 or SHA-512 check (hex or base64, optional prefix such as sha256=), a Delivery ID Header that drops duplicate deliveries with a 200, and a server action that runs for each accepted call. A wrong signature gets 403, a failing action gets 500 so the sender retries.
Replay
Replay an incoming call
After you fix the server action, press Replay on a failed webhook call to run it again with the stored body.
Keep Logs (days)
Log retention and staging safety
Finished logs older than the set number of days are deleted daily. On a neutralized database, connections and webhooks are disabled and stored secrets are cleared.

Getting started

Install

Open Apps, clear the Apps filter, search for API Connector Hub and click Activate. It needs only Discuss, which every Odoo has. Only administrators (Settings access) see the API Hub menu.

Apps › api_connector_hub › Activate
Configure

Create a connection: name, a short code such as pay_live, the Base URL and the login. Press Test Connection. Retry rules, timeout, SSL verification and default headers are on the Requests tab. Developers call it from Python: env['api.connection'].get_connection('pay_live').request('POST', '/charges', json={...}, reference='S00042').

API Hub › Connections Settings for API Connector Hub
Use

Open Request Log to see what was sent, filter on Failed or Waiting to Retry, and open a line to read the masked request and the response. For webhooks, create an endpoint, copy its URL into the other service, enter the signing secret and pick the server action to run.

Request Log: finished, failed and waiting requests of three connections, coloured by state.
Request Log: finished, failed and waiting requests of three connections, coloured by state.
A webhook endpoint with its secret URL, HMAC SHA-256 check, delivery id header and server action.
A webhook endpoint with its secret URL, HMAC SHA-256 check, delivery id header and server action.

Fine print

Does it connect to a payment gateway or carrier by itself?
No. It is the base: connections, requests, retries and webhooks. A payment, shipping or storage add-on uses it to talk to one service. Without such an add-on you can still call any REST API from a server action or your own module.
Are the keys stored in plain text?
They are stored in the database like other Odoo credentials, but only users with Settings access can read them, and the log never shows them. The neutralization script clears them on staging copies.
What happens when the Odoo transaction is rolled back after a request?
The log line is rolled back with it. The request() method itself never raises on HTTP or network errors, so a normal failed call is logged and kept.
Where can I run it?
On Odoo.sh and on your own server, Community or Enterprise, versions 17.0 to 20.0. Odoo Online doesn't accept third-party modules.
What doesn't it do?
No ready-made connector to a specific service. The retry queue runs through the scheduled action every minute, so a retry can be up to a minute late. OAuth 2 supports client credentials only, not the browser login flow. Webhooks need the database to be selected without a login screen (one database, or ?db= in the URL). Responses are logged as text. Requests can send text, JSON, form data or raw bytes, but multipart/form-data is not built in.
Can you adapt it for us?
Yes. Email odoo.expert.111@gmail.com with your Odoo version and what you'd like changed.

Log

18.0.1.0.0 · Oct 2026
First release, published for Odoo 17.0 to 20.0.

Can it sit under the connector we need?

Tell us which service you want to connect and we will say how it fits the hub.

Email odoo.expert.111@gmail.com
QR code: email Awins about this module

Also by Awins

Split Transfers Split Transfers a_stock_picking_split
Product Warranty Claims Product Warranty Claims product_warranty_claim_track
Quotation Revisions Quotation Revisions sale_quotation_revision_compare
Awins builds small Odoo modules that do one job. api_connector_hub · 18.0.1.0.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 847
Technical Name api_connector_hub
LicenseOPL-1
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with