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 products
  • GET /products/{id} - Get product details
  • POST /products - Create new product
  • PUT /products/{id} - Update product
  • DELETE /products/{id} - Delete product

Users API

  • GET /users/me - Get current user
  • PUT /users/me - Update current user
  • POST /users/register - Register new user
  • POST /users/login - User login

Billing API

  • GET /billing/subscriptions - List subscriptions
  • POST /billing/checkout - Create checkout session
  • GET /billing/invoices - List invoices
  • POST /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.