# XPO Logistics API Documentation

This is the complete API documentation for connecting to the XPO Logistics API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **XPO Logistics connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/xPOLogistics/actions/{actionSlug}/run
```

## XPO Logistics actions

- POST `calculate-lineal-feet` Calculate Lineal Feet
- GET `cancel-bill-of-lading` Cancel Bill of Lading
- GET `cancel-pickup-request` Cancel Pickup Request
- POST `create-bill-of-lading` Create Bill of Lading
- POST `create-pickup-request` Create Pickup Request
- POST `create-rate-quote` Create Rate Quote
- POST `generate-access-token` Generate Access Token
- GET `get-bill-of-lading` Get Bill of Lading
- GET `get-bill-of-lading-pdf` Get Bill of Lading PDF
- GET `get-order-shipment-documents` Get Order Shipment Documents
- GET `get-pickup-request` Get Pickup Request
- GET `get-rate-quotes` Get Rate Quotes
- GET `get-shipment-status-details` Get Shipment Status details
- GET `get-shipment-tracking-events` Get Shipment Tracking Events
- GET `list-submitted-bills-of-landing` List Submitted Bills of Landing
