Retrieve a tank
GET /v1/tanks/:id
Retrieves a tank object.
Request
curl -X GET "https://public.api.levixgas.com/v1/tanks/849f32cc-e891-4279-ac41-37fe5b2cce50" \
-H "X-API-Key: YYBXbxc.T_x2psVizfd1M3XPIKHEeYYpZkMoH4uJ5LXlicSsV8Y"
Parameters
No parameters.
Returns
Returns the tank object for a valid identifier. If it's for a deleted tank, a subset of the tank's information is returned, including a deleted property that's set to true.
Response
{
"id":"849f32cc-e891-4279-ac41-37fe5b2cce50",
"object":"tank",
"assigned_device_id":"ABCD1234",
"capacity":100,
"capacity_unit":"liters",
"created_at":"2025-08-13T16:38:55.453Z",
"custom_id": null,
"location":{
"city":null,
"country":null,
"district":null,
"latitude":null,
"longitude":null,
"postal_code":null,
"region":null,
"street":null,
"street_number":null
},
"min_fill_alert_percentage": 30,
"name":"My tank",
"owner_id":"16ccb4b5-2f9d-43c4-aa97-faebe4800904",
"updated_at":"2025-08-13T16:38:55.453Z",
"use_case": null
}