# LeanMile cross-border gatway API | Documentation Instructions for AI Agents: - For clean Markdown of any page, append `.md` to the page URL - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.leanmile.com/_mcp/server ## Docs - [Overview](https://api.leanmile.com/otp-cc-flow.md) - [Overview](https://api.leanmile.com/otp-cc-flow/1-shipments.md) - [Overview](https://api.leanmile.com/otp-cc-flow/2-tracking.md) ## API Docs - [1. Create new shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/1-create-new-shipment.md): OTP CC Flow > 1shipments - [1.1 Update shipment details](https://api.leanmile.com/otp-cc-flow/1-shipments/1-1-update-shipment-details.md): OTP CC Flow > 1shipments - [Delete entire shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/delete-entire-shipment.md): OTP CC Flow > 1shipments - [3. Show shipment/container/parcel status and validation information](https://api.leanmile.com/otp-cc-flow/1-shipments/3-show-shipment-container-parcel-status-and-validation-information.md): OTP CC Flow > 1shipments - [4. Confirm parcel uploading and lock the shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/4-confirm-parcel-uploading-and-lock-the-shipment.md): OTP CC Flow > 1shipments - [Delete parcels from specified shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/delete-parcels-from-specified-shipment.md): OTP CC Flow > 1shipments - [2. Add shipment parcels with items for async processing](https://api.leanmile.com/otp-cc-flow/1-shipments/2-add-shipment-parcels-with-items-for-async-processing.md): OTP CC Flow > 1shipments - [Truncate all shipment parcels](https://api.leanmile.com/otp-cc-flow/1-shipments/truncate-all-shipment-parcels.md): OTP CC Flow > 1shipments - [5. Upload AWB Document](https://api.leanmile.com/otp-cc-flow/1-shipments/5-upload-awb-document.md): OTP CC Flow > 1shipments - [1. Get events for specific parcel](https://api.leanmile.com/otp-cc-flow/2-tracking/1-get-events-for-specific-parcel.md): OTP CC Flow > 2tracking ## OpenAPI Specification - [OpenAPI JSON](https://api.leanmile.com/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://api.leanmile.com/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format