# How to send shipment data to Cloudex TMS via API?

Use the **Cloudex TMS API** when shipments created in another system need to be automatically imported into Cloudex TMS.

This is typically the first step of a shipment integration between an external TMS, ERP, customer system, or another application and Cloudex TMS.

#### Before you start

You need:

- access to the Cloudex TMS API;
- a valid **Cloudex API key**;
- access to the Cloudex TMS API documentation.

See: **How to create API key**

Full Cloudex TMS API documentation: [https://my.cloudex.lv/cloudex-api/swagger/index.html](https://my.cloudex.lv/cloudex-api/swagger/index.html)

#### Which endpoint should be used?

To create/import a shipment in Cloudex TMS, use the: **shipment-manifest** endpoint.

The external system sends the shipment information to Cloudex TMS using this endpoint.

[![image.png](https://help.cloudex.app/uploads/images/gallery/2026-07/scaled-1680-/8kaimage.png)](https://help.cloudex.app/uploads/images/gallery/2026-07/8kaimage.png)

#### Integration flow

A typical shipment integration works as follows: **External system → Shipment manifest → Cloudex TMS**

#### Related articles

- [**How to create API key**](https://help.cloudex.app/books/cloudex-tms/page/how-to-create-api-key)