FoodGuard Mobile API
  1. Inspection
FoodGuard Mobile API
  • Authentication
    • User Login
      POST
    • User Logout
      POST
  • Lookups
    • Get All Branches
      GET
    • Get All Suppliers
      GET
  • Inspection
    • Lookup Batch by QR/Barcode
      GET
    • Initialize Inspection Batch
      POST
    • Upload Sample Image for AI Analysis
      POST
    • Finalize Batch Inspection
      POST
  • History
    • Get Inspection History
      GET
  • Inspector Dashboard
    • Get Home Screen Stats
      GET
  • Schemas
    • User
    • Branch
    • Supplier
    • BatchInitResponse
    • AISampleResult
    • ErrorResponse
    • ValidationErrorResponse
  1. Inspection

Lookup Batch by QR/Barcode

Pending
GET
/batches/lookup
Used in Step 1 to find a scheduled batch before inspection starts.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Responses

🟢200
application/json
Batch Found
Body

Example
{
    "found": true,
    "data": {
        "batch_id": "#2025",
        "supplier_name": "Fresh Valley Farms",
        "scheduled_items_count": 50,
        "status": "scheduled"
    }
}
🟠404
Modified at 2025-12-18 11:12:03
Previous
Get All Suppliers
Next
Initialize Inspection Batch
Built with