Integrating your Assets

Overview

Integrate your asset information into our platform to visualize and track physical assets such as sensors, vehicles, equipment, and infrastructure. This integration enables comprehensive asset management and monitoring capabilities with real-time location tracking and attribute management.


Endpoint

POST: https://api.tomorrow.io/v4/connect/assets/{feedId}


Request Body Parameters

Field NameData TypeDescriptionSample ValueRequired
dataarrayArray of asset itemsYes

Request Asset Data Parameters

Field NameData TypeDescriptionSample ValueRequired
idstringUnique identifier of the asset"asset_123456"Yes
namestringDisplay name of the asset that is visible in the platform"Weather Sensor A"Yes
locationobjectAsset location (GeoJSON format).See request exampleYes
endTimestringEnd time of the asset's validity period. When expired the asset won't be displayed in the platform."2024-03-01T00:00:00Z"No
attributesobjectCustom metadata for the asset.See request exampleNo

Request Example

{
  "data": [
    {
      "id": "custom_sensor_001",
      "name": "Custom Weather Station",
      "location": {
        "geojsonGeometry": {
          "type": "Point",
          "coordinates": [-73.935242, 40.73061]
        }
      },
      "typedAttributes": {
         "status": {
           "value": "active",
           "type": "text"
         },
         "department": {
           "value": "Environmental Monitoring",
           "type": "text"
         },
         "owner": {
           "value": "John Smith",
           "type": "text"
         },
         "cost_center": {
           "value": "CC-001-ENV",
           "type": "text"
         },
         "serial_number": {
           "value": "00135",
           "type": "number"
         },
         "maintenance_schedule": {
           "value": "Monthly",
           "type": "text"
         }
       }
    }
  ]
}

Integration Details

  • Authentication: You must include a valid API key in the request. Contact your account manager to obtain credentials and integration access.
  • Feed ID: A feed is used to organize and manage groups of related assets within the Tomorrow.io platform. Before uploading any asset data via the API, a feed must be created in your account. Each feed acts as a dedicated layer through which assets are ingested, displayed, and managed.
  • Limitations: You can submit up to 100 assets per request. Each asset must have a unique id within the feed.
  • GeoJSON Format: The location field uses the standard GeoJSON Feature format with type, geometry, and optionally properties.
  • Attributes: Used to store custom metadata. Each attribute must include a key and a value.