Developer Documentation

One endpoint. Full packing optimization.

StoaPack optimizes how items are packed into boxes across multiple warehouses. Send your items, boxes, and inventory — get back the optimal packing solution with exact placement coordinates, weight distribution, and hazmat compliance.

Authentication

All API requests require an API key passed in the X-API-Key header.

  1. Sign up for a StoaPack account
  2. Go to your Dashboard and create an API key
  3. Include it in every request:
curl -H "X-API-Key: YOUR_API_KEY" https://stoapack.stoalogistics.com/api/v1/health

Base URL

https://stoapack.stoalogistics.com/api/v1/

All endpoints are versioned under /api/v1/. The single optimization endpoint is:

Method Endpoint Description
POST /api/v1/optimize Run bin packing optimization
GET /api/v1/health Health check (no auth required)

How It Works

You send a JSON request with three things:

  1. Items — What you need to pack (dimensions, weight, quantity)
  2. Warehouses — Where your inventory is, and what boxes are available at each location
  3. Options — Units (inches or cm), optimization goal, AI custom instructions

StoaPack returns the optimal packing solution: which items go in which boxes at which warehouses, with exact 3D placement coordinates, weight totals, and compliance checks.

Explore