🔐 Authentication
JWT-based authentication with refresh tokens, OTP verification, and password reset flows.
REST API documentation for bookings, accounting, suppliers, and more.
/api/v1Example:
http://localhost:8080/api/v1All protected endpoints require the following header:
Authorization: Bearer <access_token>All errors follow a consistent format:
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human readable error message"
}
}List endpoints support the following query parameters:
| Parameter | Type | Default | Max | Description |
|---|---|---|---|---|
| page | int | 1 | — | Page number (1-indexed) |
| page_size | int | 10 | 100 | Items per page |
| search | string | — | — | Search by name/code/email |
Paginated response format:
{
"items": [],
"total": 0,
"page": 1,
"page_size": 10,
"total_pages": 1
}