# HERE Rules API

**Canonical:** https://apis.io/apis/here/here-rules-api/  
**Provider:** HERE — https://apis.io/providers/here/  
**Base URL:** https://account.api.here.com  
**Documentation:** https://docs.here.com/identity-and-access-management/reference

HERE Rules API is one of 139 APIs that [HERE](https://apis.io/providers/here/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Rules. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The Rules service creates and manages rules. Rules generate events and notifications when get triggered by a device behaviour. The following rule types are supported: * dwelling * detention * utilization * stock * online * shipmentEtaChange * shipmentSchedule After a rule has been created, it needs to be associated to a device to get activated. This association means that every time a telemetry is received from the device, it will be evaluated against the rule condition. As soon as the evaluation changes (for example, from true to false), an event will be recorded.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/rules/v4/health` | Gets service health |
| GET | `/rules/v4/version` | Gets service version |
| POST | `/rules/v4` | Creates a rule |
| GET | `/rules/v4` | Gets all rules |
| DELETE | `/rules/v4` | Deletes all rules |
| GET | `/rules/v4/{ruleId}` | Gets a single rule |
| PUT | `/rules/v4/{ruleId}` | Updates a single rule |
| DELETE | `/rules/v4/{ruleId}` | Deletes a rule |

## Machine-readable artifacts (37)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/here/refs/heads/main/openapi/here-rules-api-openapi.yml
- **Documentation** — https://docs.here.com/identity-and-access-management/docs
- **APIReference** — https://docs.here.com/identity-and-access-management/reference
- **Documentation** — https://docs.here.com/data-api/docs
- **APIReference** — https://docs.here.com/data-api/reference
- **Documentation** — https://docs.here.com/usage/docs
- **APIReference** — https://docs.here.com/usage/reference
- **Documentation** — https://docs.here.com/destination-weather/docs
- **APIReference** — https://docs.here.com/destination-weather/reference
- **Documentation** — https://docs.here.com/ev-products/docs
- **APIReference** — https://docs.here.com/ev-products/reference
- **Documentation** — https://docs.here.com/fuel-prices/docs
- **APIReference** — https://docs.here.com/fuel-prices/reference
- **Documentation** — https://docs.here.com/geocoding-and-search/docs
- **APIReference** — https://docs.here.com/geocoding-and-search/reference
- **Documentation** — https://docs.here.com/routing/docs
- **APIReference** — https://docs.here.com/routing/reference
- **Documentation** — https://docs.here.com/positioning/docs
- **APIReference** — https://docs.here.com/positioning/reference
- **Documentation** — https://docs.here.com/indoor-map/docs
- **APIReference** — https://docs.here.com/indoor-map/reference
- **Documentation** — https://docs.here.com/transit/docs
- **APIReference** — https://docs.here.com/transit/reference
- **Documentation** — https://docs.here.com/map-attributes/docs
- **APIReference** — https://docs.here.com/map-attributes/reference
- **Documentation** — https://docs.here.com/map-rendering/docs
- **APIReference** — https://docs.here.com/map-rendering/reference
- **Documentation** — https://docs.here.com/workspace/docs
- **APIReference** — https://docs.here.com/workspace/reference
- **Documentation** — https://docs.here.com/tour-planning/docs
- **APIReference** — https://docs.here.com/tour-planning/reference
- **Documentation** — https://docs.here.com/tracking/docs
- **APIReference** — https://docs.here.com/tracking/reference
- **Documentation** — https://docs.here.com/traffic-api/docs
- **APIReference** — https://docs.here.com/traffic-api/reference
- **Documentation** — https://docs.here.com/wego-pro/docs
- **APIReference** — https://docs.here.com/wego-pro/reference

## Other HERE APIs (12)

- [HERE Geocoding and Search API](https://apis.io/apis/here/geocoding-search/)
- [HERE Autosuggest API](https://apis.io/apis/here/autosuggest/)
- [HERE Tour Planning API](https://apis.io/apis/here/tour-planning/)
- [HERE Public Transit API](https://apis.io/apis/here/public-transit/)
- [HERE Destination Weather API](https://apis.io/apis/here/destination-weather/)
- [HERE Map Tile API](https://apis.io/apis/here/map-tile/)
- [HERE Map Image API](https://apis.io/apis/here/map-image/)
- [HERE Tracking API](https://apis.io/apis/here/tracking/)
- [HERE Positioning API](https://apis.io/apis/here/positioning/)
- [HERE Parking API](https://apis.io/apis/here/parking/)
- [HERE Platform Data API](https://apis.io/apis/here/platform-data/)
- [HERE HD Live Map](https://apis.io/apis/here/hd-live-map/)

## Tags

Rules

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/here/here-rules-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/here/.
