---
title: "Custom Vector Events API"
method: POST
path: "/events-custom/{feedName}.{format}"
---

# Custom Vector Events API

`POST /events-custom/{feedName}.{format}`

## Path parameters

- `feedName` string, required
- `format` string, required

## Headers

- `Accept-Encoding` string

## Request body

- object
  - `timeRange` object — Duration to get the feed results for. Times should follow the ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
  - `geofence` object — Fields: geojsonGeometry (object; required) – Valid GeoJSON geometry (e.g., Polygon or MultiPolygon). type (string; required) – The GeoJSON geometry type (e.g., "Polygon"). coordinates (array; required) – The coordinates defining the polygon.
  - `attributes` object — insightId (string) – The unique ID of the triggered insight. insightName (string) – The name of the insight. locationId (string) – An identifier for the location category. severity (string) – The severity of the event. insightDescription (string) – The textual description of the insight.

## Response `200`

200

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/tomorrow/apis/tomorrowio-api.md) · [All operations](https://skmtc.dev/tomorrow/apis/tomorrowio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tomorrow/tomorrowio-api/revisions/18905002092a/schema)
