Skip to content

Acyon APIComplete API Reference

REST API documentation for bookings, accounting, suppliers, and more.

Base URL

/api/v1

Example:

http://localhost:8080/api/v1

Authentication

All protected endpoints require the following header:

http
Authorization: Bearer <access_token>

Error Response Format

All errors follow a consistent format:

json
{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human readable error message"
  }
}

Pagination

List endpoints support the following query parameters:

ParameterTypeDefaultMaxDescription
pageint1Page number (1-indexed)
page_sizeint10100Items per page
searchstringSearch by name/code/email

Paginated response format:

json
{
  "items": [],
  "total": 0,
  "page": 1,
  "page_size": 10,
  "total_pages": 1
}

Unified API Documentation