Swagger UI¶
Swagger exposes every backend endpoint with request/response schemas and an in-browser "Try it out" button.
Open live Swagger (test) Open live Swagger (production)
URLs¶
- Local:
http://localhost:4000/v1/docs/index.html - Test: https://kuraweighapitest.masterspace.co.ke/v1/docs/index.html
- Production: https://truloadapi.codevertexitsolutions.com/v1/docs/index.html
Authorising a request¶
- Call
POST /api/v1/auth/loginwith a valid account. - Copy the
accessTokenfrom the response. - Click Authorize at the top of Swagger.
- Enter
Bearer <token>and confirm.
Endpoint exploration order¶
auth/login— token issuanceweighing/*— capture and decisioncases/*,prosecution/*— workflow continuityinvoices/*,receipts/*— financial flowpayments/callback/*,webhook/*— integration handling