Skip to Content
ERPX Documentation — Your complete guide to the ERPX platform
API Reference

API Reference

ERPX provides a comprehensive REST API for integrating with external systems, automating workflows, and building custom applications.

The API follows RESTful conventions with JSON request/response bodies. All endpoints require authentication.

Base URL

https://your-instance.erpx.io/api/v1

Quick Start

# Authenticate and get a token TOKEN=$(curl -s -X POST https://your-instance.erpx.io/api/v1/auth/login \ -H "Content-Type: application/json" \ -d '{"email":"admin@yourcompany.com","password":"your-password"}' \ | jq -r '.token') # Fetch items curl -s https://your-instance.erpx.io/api/v1/items \ -H "Authorization: Bearer $TOKEN" \ | jq .

API Sections

Rate Limits

PlanRequests/MinuteRequests/Day
Free6010,000
Pro300100,000
Enterprise1,000Unlimited

Rate limit headers are included in every response:

X-RateLimit-Limit: 300 X-RateLimit-Remaining: 299 X-RateLimit-Reset: 1704067200

Response Format

All API responses follow a consistent format:

Success Response

{ "success": true, "data": {}, "meta": { "page": 1, "perPage": 20, "total": 150, "totalPages": 8 } }

Error Response

{ "success": false, "error": { "code": "VALIDATION_ERROR", "message": "Invalid input data", "details": [ { "field": "email", "message": "Email is required" } ] } }

HTTP Status Codes

CodeDescription
200Success
201Created
204No Content (successful delete)
400Bad Request
401Unauthorized
403Forbidden
404Not Found
422Validation Error
429Rate Limit Exceeded
500Internal Server Error