OpenAPI reference
Updated 2026-09-07
On this page
The OpenAPI document is the source of truth for request/response schemas. Use it to generate clients or explore in Postman, Insomnia, or Swagger UI.
Fetch the spec
curl -sS https://nitromule.com/api/integrations/v1/openapi.json | jq '.info'
Inspect paths:
curl -sS https://nitromule.com/api/integrations/v1/openapi.json | jq '.paths | keys'
Suggested workflow
- Import
openapi.jsoninto Postman or Insomnia. - Set a collection variable
api_keyto anm_test_…key. - Add a collection auth header:
Authorization: Bearer {{api_key}}. - Run in order: carriers → addresses/validate → rates → orders → shipments → void → tracking.
- Compare with the five canonical scripts in Quickstart.
What to trust
| Source | Use for |
|---|---|
| OpenAPI schemas | Exact property names and enums |
| Quickstart | Happy-path narrative + curl |
| Webhooks guide | Event names and delivery rules |
| Help center | Merchant UI workflows |
When a curl snippet and OpenAPI disagree, OpenAPI wins.
Versioning
The API is versioned under /api/integrations/v1. Read info.version inside the spec. Breaking changes land on a new version path.
Errors to expect
| HTTP | Typical meaning |
|---|---|
| 401 | Bad/missing key |
| 402 | Payment required for platform postage |
| 404 | Unknown order/shipment id |
| 409 / 422 | Validation / conflict |
| 429 | Rate limited |
Related: Authentication, Test mode.