D
API Reference

API Reference

Route map — 390 API endpoints in routes/api.php, grouped into 30+ groups. Auth, order, wallet, contact, device, agent, broadcast, etc.

dazoapp has 390 API routes in routes/api.php and 192 web routes in routes/web.php. This page maps the main route groups.

Key points (see Indonesian version for full table):

  • Auth: JWT (auth:api), Sanctum (majority), session (auth), no-auth (webhooks with signature verification)
  • 8 webhook endpoints (DOKU, Duitku, Aspire, Engine Bot) — all verify signature, no auth middleware
  • Route conflicts: POST /order/change_payment_status registered 2x, /checkout prefix 2x, /settings vs /setting
  • For endpoint details, read routes/api.php directly — it is the source of truth
  • Auth flow: login → access_token in localStorage → Authorization: Bearer → refresh on 401