API Reference
Complete reference documentation for the Enginix REST API.
Base URL
https://api.enginix.com/v1
Authentication
All API requests require authentication using API keys or JWT tokens.
API Key Authentication
Authorization: Bearer YOUR_API_KEY
API Endpoints
Products API
GET /products
- List all productsGET /products/{id}
- Get product detailsPOST /products
- Create new productPUT /products/{id}
- Update productDELETE /products/{id}
- Delete product
Users API
GET /users/me
- Get current userPUT /users/me
- Update current userPOST /users/register
- Register new userPOST /users/login
- User login
Billing API
GET /billing/subscriptions
- List subscriptionsPOST /billing/checkout
- Create checkout sessionGET /billing/invoices
- List invoicesPOST /billing/portal
- Access billing portal
Response Format
All API responses are in JSON format with success and data fields.
Error Handling
Error responses include appropriate HTTP status codes and error details for troubleshooting.