# Find depot by ID Endpoint: GET /depots/{depotId} Version: 1.0.0 Security: M2X_auth_application ## Path parameters: - `depotId` (string, required) The depot Id ## Response 200 fields (application/json): - `name` (string) Example: "A test depot" - `created` (string) - `updated` (string) - `location` (object) - `location.addressText` (string, required) - `location.latitude` (number, required) - `location.longitude` (number, required) - `location.locationName` (string, required) - `location.locationId` (string,null) The M2X internal location id. When a location is manually created in M2X, this is a randomly generated unique identifier. If creating locations via API, the caller can set the Location ID. - `location.externalId` (string,null) An optional external identifier assigned to the location. This ID can be provided when creating the location and is typically used for cross-system referencing or integration with external data sources. - `location.timezone` (string) IANA (aka TZ database) timezone name Example: "Pacific/Auckland" - `location.properties` (object,null) - `deleted` (boolean) - `published` (boolean) ## Response 404 fields (application/json): - `message` (string) Example: "not found"