The collection
The full reference lives at apis.tryoto.com. It is generated from the Postman collection itself, which means it does not drift from the API: every endpoint carries its real request body, a live example response, and runnable code in more than thirty languages.Working against the sandbox
Point the collection athttps://staging-api.tryoto.com and it behaves exactly as production does, with test carriers instead of real ones. Same paths, same payloads, same responses — no parcels, no invoices.
A ten-minute first run
- Get a sandbox account, and its
refresh_tokenfrom Settings → API Integrations. - Call
POST /rest/v2/refreshToken. Save theaccess_tokeninto a variable. - Call
GET /rest/v2/healthCheckto confirm the token and the host are both right. - Call
POST /rest/v2/createOrderwith the example body, changing the address to somewhere your test carriers cover. - Call
POST /rest/v2/checkOTODeliveryFeefor that route and look at what comes back — prices, delivery estimates and cut-off times per carrier. - Call
POST /rest/v2/createShipment. You now have an AWB you can print.
Use a real address in the sandboxCarrier coverage is checked even in the sandbox, so an invented city produces “no carriers available” and looks like a broken integration rather than a bad test fixture.Pick a city you can see in
availableCities and keep using it.Related
- Authentication — getting the token this all depends on.
- REST API reference — what else is there.
- apis.tryoto.com — the collection itself.

