Skip to content

Get User

Retrieve a single user by their ID from Last Mile Intelligence.

getUser

user

ParameterTypeRequiredDefaultDescription
User IDstringYes-The ID of the user to retrieve
{
"id": "user_12345",
"email": "john.smith@example.com",
"firstName": "John",
"lastName": "Smith",
"role": "dispatcher",
"organizationId": "org_main",
"isActive": true,
"lastLogin": "2024-06-21T08:30:00Z"
}
{
"success": false,
"error": "User not found",
"userId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • User Not Found: User with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation