Shipment Data Extraction (Text, Image)
Changed onTransform raw email data into accurate shipment information and remove manual data entry from your quote and book process. By far the easiest way to leverage powerful AI capabilities to supercharge your workflows.
Send the email subject, its body and any number of attachments in one request (attachments format). The type / data format is deprecated: end of maintenance 2 May 2027. Errors are never billed.
post/ai/shipment
Request
- Base URLhttps://api.cargoai.co/solutions
- URLhttps://api.cargoai.co/solutions/ai/shipment
- Authnone required
Headers
x-api-keystring required
Request body
Example request
{
"attachments": [
{
"name": "packing.csv",
"contentType": "text/csv",
"content": "cGNzLGxlbmd0aCx3aWR0aCxoZWlnaHQsa2cKMiwxNDAsMTAwLDEyMCwyNTAK"
}
]
}Response
Extracted shipment
Example response
{
"origin": "CDG",
"destination": "BKK",
"date": "2024-10-28",
"loadType": "PER",
"weight": 500,
"volume": 2,
"dimensions": [
{
"pieces": 2,
"length": 140,
"width": 100,
"height": 120,
"weight": 250,
"weightUnit": "kg",
"stackable": "false"
}
],
"attachments": [
{
"name": "packing.csv",
"detectedType": "csv",
"status": "processed"
}
]
}Changes
- info
endpoint added
- info