Skip to content

Get Service Areas

Retrieve all service areas from Last Mile Intelligence.

getServiceArea

serviceArea

ParameterTypeRequiredDefaultDescription
Service Area IDstringNo-Leave empty to retrieve all areas
[
{
"id": "sa_chicago",
"name": "Chicago Metro",
"terminalId": "term_chicago",
"isActive": true
},
{
"id": "sa_milwaukee",
"name": "Milwaukee Area",
"terminalId": "term_milwaukee",
"isActive": true
}
]
{
"success": false,
"error": "Failed to retrieve service areas"
}
  • Missing API Token: LMI credential is missing API token
  • Permission Denied: API token lacks permission for this operation