Skip to main content

FLEXIcontent API

FLEXIcontent 5.x can be driven in three complementary ways. All of them use the same Joomla! permissions: the API never grants rights that the chosen Joomla! account does not already have.

Choose an interface​

InterfaceUse it when…Documentation
JSON:API Web ServicesAn external application, script or HTTP client needs to read/write content with a Joomla! token.Web Services
API endpoint referenceYou need the exact path, method, filter or payload for every FLEXIcontent endpoint.Endpoints
MCP serverAn AI assistant (OpenCode, Claude, Cursor, VS Code, Gemini CLI…) needs to operate the site through tools.MCP
PHP developer APICustom Joomla! code needs to create items, use FLEXIcontent models, read fields or react to events.PHP API

Before you start​

  • Use FLEXIcontent 5.x on Joomla! 4.x, 5.x or 6.x.
  • Create a dedicated Joomla! account with the minimum required rights, rather than using a Super User account.
  • Enable the Joomla! API token plugins and the FLEXIcontent Web Services plugin. Keep API Authentication – Basic disabled.
  • Always use HTTPS in production and store the token in a secret manager, never in an AI client configuration file.

Minimal HTTP example​

export FLEXI_API_TOKEN='your-joomla-api-token'

curl -H "Authorization: Bearer $FLEXI_API_TOKEN" \
"https://example.com/api/index.php/v1/flexicontent/items?page[limit]=1"

A successful call returns JSON. A 401 means the token is invalid or inactive; a 403 means the Joomla! account lacks permissions.

Official sources​