Read data
List the catalog, paginate, and read inventory risks.
Create a plan
Create a restock plan and add an item — the write flow.
Before you start
- Base URL —
https://app.solya.app; endpoints live under/api/. - Auth — every request sends
Authorization: Bearer solya_sa_…(a service-account token). - Envelope — write/action responses use
{ "success": true, "data": … }or{ "success": false, "errorCode": … }. Branch onerrorCode, not on the text. See Error codes.
Verify your token
A quick first call confirms the token resolves to the right organization and permissions.- cURL
- Python
- JavaScript
Prefer not to hand-write requests? Point an AI agent at the MCP gateway
and it will discover and call these endpoints for you.

