Okapi Okapi

/xmlrpc* → endpoint removal

Odoo External API

Deprecated, no date

Odoo has deprecated the XML-RPC API without a specific shutdown date. This deprecation affects all requests to the /xmlrpc* endpoints. Following this scheduled removal, affected calls fail.


Calls it hits

  • /xmlrpc*

What to use instead of these calls

Use the External JSON-2 API by sending requests to POST /json/2/{model}/{method} with an API key in the Authorization: bearer header.

In Odoo External API's words

Deprecated since version 19.0. Both the XML-RPC and JSON-RPC APIs at endpoints /xmlrpc , /xmlrpc/2 and /jsonrpc are scheduled for removal in Odoo 22 (fall 2028) and Online 21.1 (winter 2027). The External JSON-2 API acts as a replacement.

Odoo External API, Announcement

Facts

API
Odoo External API *.odoo.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Odoo External API's own pages

Questions

When does this change take effect?

Odoo External API deprecated /xmlrpc* without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Odoo External API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Odoo External API 1

  1. No date /jsonrpcEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub