API Reference

Integrate CapaSolve's constraint engine directly with your ERP.

Authentication & Rate Limits

All API requests must contain an X-API-Key header containing your Enterprise API token. Rate limit is 100 requests per minute.

X-API-Key: cs_live_YOUR_SECRET_API_KEY

1. Trigger Finite Capacity Solve

To trigger the constraint optimization engine programmatically, send a POST request:

POST /api/v1/schedule/solve

Payload parameters: orders: Order[], processes: OrderProcess[], and optional solver configuration options.

2. Fetch & Synchronize Work Orders

To retrieve or push orders from your ERP system:

GET /api/v1/orders?q=SEARCH_TERM POST /api/v1/orders