docs/admin-interface/system/users/api.md
The APIs section allows you to create and manage secure credentials for external applications to communicate with your OpenCart store. This enables integrations with inventory systems, ERP software, mobile apps, custom frontends, and other third-party services. Each API key has configurable access restrictions and detailed usage history for security monitoring.
{% stepper %} {% step %}
Log in to your admin dashboard and go to System → Users → APIs. {% endstep %}
{% step %}
You will see a list of existing API credentials with their usernames, status, and associated IP restrictions. {% endstep %}
{% step %}
Use the Add New button to create a new API key or click Edit to modify an existing API's settings and permissions. {% endstep %} {% endstepper %}
Core Credentials
Security Controls
IP restrictions are a critical security feature that ensures only authorized servers can connect to your store's API.
</details> <details> <summary><strong>API History Tracking</strong></summary>Usage Monitoring
The history tab provides an audit trail of all API activity for security review and troubleshooting.
</details>{% hint style="info" %} Security First: Always restrict API keys to specific IP addresses. OpenCart displays your current IP address on the API form to help you add it easily. For production integrations, use the static IP addresses of your external servers. {% endhint %}
To set up an integration with an external service (e.g., an inventory management system):
To connect a custom mobile app to your OpenCart store:
If an API key is suspected to be compromised:
For maximum security when integrating with known servers:
Protecting Your Store
Reliable Connections
{% hint style="warning" %} Critical Security Warning ⚠️ API keys grant access to your store's data and functions. Treat them with the same security as admin passwords. Never expose API keys in client-side code (JavaScript, mobile apps distributed to users). Always use server-to-server communication or implement a secure proxy. {% endhint %}
Authentication Issues
Environment Differences
Dependency Issues
Security Investigation
"APIs are the bridges that connect your store to the wider digital ecosystem. Each bridge needs strong gates (IP restrictions), vigilant guards (monitoring), and regular inspections (key rotation) to keep your data secure while enabling powerful integrations."