Tomorrow.io · Example Payload

Tomorrow Io Alert Example

WeatherForecastClimateRiskAir QualityPollenLightningSevere WeatherMapsRoutingSatelliteMicrosatellitesRadarGeospatialAlerts

Tomorrow Io Alert Example is an example object payload from Tomorrow.io, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.tomorrow.io/v4/alerts?apikey=YOUR_API_KEY",
    "body": {
      "name": "Heavy Rain Warning",
      "description": "Trigger when hourly precipitation exceeds 10 mm.",
      "active": true,
      "condition": { "field": "precipitationIntensity", "operator": "gt", "value": 10 },
      "notifications": {
        "webhookUrl": "https://example.com/hooks/tomorrow-io",
        "email": ["ops@example.com"]
      },
      "linkedLocationIds": ["6183d156022c1b0008685cc6"]
    }
  },
  "response": {
    "id": "alr_2a91d",
    "name": "Heavy Rain Warning",
    "active": true,
    "condition": { "field": "precipitationIntensity", "operator": "gt", "value": 10 },
    "linkedLocationIds": ["6183d156022c1b0008685cc6"]
  }
}