# The XML-RPC API is deprecated

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

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.

## What to use instead

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

- API: Odoo External API (*.odoo.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/xmlrpc*`
- Source: [Announcement](https://www.odoo.com/documentation/19.0/developer/reference/external_rpc_api.html)
- Verified: October 26, 2026, against Odoo External API's own pages
- Page: https://www.okapi.bot/providers/odoo-external-api/breaking-changes/the-xml-rpc-api-is-deprecated/

## 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.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
