Installation
This guide helps you set up the Joomla Webservices API.
Requirements
Before you begin, make sure you have the following:
- Joomla 5.x or higher
- PHP 8.2 or higher
- MySQL 8.0.36 or higher
- A development environment
Step 1: Activate Joomla Webservices Plugin
- Log in to your Joomla administration panel
- Go to System → Plugins
- Search for "Webservices"
- Activate the following plugins:
- Webservices - Authentication
- Webservices - Content
- Webservices - Users
Step 2: Create API Token
- Go to Users → Manage
- Select a user or create a new one
- Go to the "API Token" tab
- Click on "Create API Token"
- Copy the generated token (you won't be able to see it later!)
Step 3: Test the connection
Test if the API works with a simple request:
curl -X GET "https://yoursite.com/api/index.php/v1/content/articles" \
-H "X-Joomla-Token: YOUR_API_TOKEN"
If everything is set up correctly, you will receive a JSON response with articles.
Next steps
Continue with Authentication to learn more about the different authentication methods.