Skip to Content
API Reference

API Reference

Arkan ERP provides a RESTful API.

Authentication

All requests require a Bearer token:

curl -H "Authorization: Bearer YOUR_TOKEN" \ -H "X-Company-Id: COMPANY_UUID" \ https://your-api-host/api/v1/projects

Get a Token

POST /api/v1/auth/login { "email": "user@example.com", "password": "your-password" }

Company Context

Set the X-Company-Id header to scope requests to a specific company.

Core Endpoints

ResourceMethodsPath
ProjectsCRUD/projects
Work ItemsCRUD/projects/:id/work-items
InvoicesCRUD + Post/Cancel/accounting/invoices
PaymentsCRUD/accounting/payments
EmployeesCRUD/hr/employees
ProductsCRUD/inventory/products
Sales OrdersCRUD + Confirm/sales/orders
CompaniesCRUD + Switch/companies
Last updated on