Skip to content

User (Admin/Staff) API

Base URL: https://your-domain.com
Authentication: Bearer Token (Admin/Staff)

All endpoints in this section require admin/staff authentication. Include the Bearer token in your request headers.


API Modules

Core Management

ModuleDescriptionEndpoints
📁 SubscribersSubscriber CRUD, activation, suspension, import/export9
📁 UsersUser management, resellers, staff7
📁 PackagesPackage CRUD, assignment, pricing7

Accounting

ModuleDescriptionEndpoints
📁 InvoicesInvoice CRUD, generate, pay, reverse8
📁 PaymentsPayment CRUD, payment methods6
📁 LedgersLedger history and transactions3
📁 BalanceSubscriber/user balance management4
📁 ExpensesExpense tracking and categories6

Network

ModuleDescriptionEndpoints
📁 NASNetwork Access Server management6
📁 IP PoolsIP pool management and generation6
📁 OLT/ONUFiber network device management8
📁 PoliciesRADIUS policy management5
📁 BandwidthBandwidth allocation management6
📁 MAC BindingMAC address binding4
📁 RADIUSRADIUS sessions and management7

Organization

ModuleDescriptionEndpoints
📁 ISPsISP management5
📁 BranchesBranch management5
📁 AreasArea hierarchy management6
📁 InventoryInventory tracking and assignment7

Support & Communication

ModuleDescriptionEndpoints
📁 TicketsSupport ticket management7
📁 NotesNote management5
📁 NoticesNotice management5
📁 SMSSMS messaging3
📁 SMS TemplatesSMS template management5
📁 Email TemplatesEmail template management5

System

ModuleDescriptionEndpoints
📁 DashboardDashboard statistics and charts2
📁 SettingsSystem settings management6
📁 RolesRole management6
📁 PermissionsPermission management2
📁 Activity LogsActivity log viewing4
📁 ReportsReporting endpoints6
📁 Extra FeesExtra fee management6

Common Request Headers

HeaderValueRequired
AuthorizationBearer your-auth-tokenYes
Acceptapplication/jsonYes
Content-Typeapplication/jsonYes (POST/PUT)

Common Query Parameters

ParameterTypeRequiredDescription
isp_idintegerYesISP identifier
branch_idintegerYesBranch identifier
user_idintegerYesUser identifier

Method Reference

  • GET - Retrieve data
  • POST - Create new resource or perform action
  • PUT - Update existing resource
  • DELETE - Delete resource

Fields marked in red are required.

www.onezeroart.com