Skip to content

Get Terminals

Retrieve all terminals from Last Mile Intelligence.

getTerminal

terminal

ParameterTypeRequiredDefaultDescription
Terminal IDstringNo-Leave empty to retrieve all terminals
[
{
"id": "term_chicago",
"name": "Chicago Terminal",
"code": "CHI",
"city": "Chicago",
"isActive": true
},
{
"id": "term_milwaukee",
"name": "Milwaukee Terminal",
"code": "MKE",
"city": "Milwaukee",
"isActive": true
}
]
{
"success": false,
"error": "Failed to retrieve terminals"
}
  • Missing API Token: LMI credential is missing API token
  • Permission Denied: API token lacks permission for this operation