---
title: "GET /eventroutes/{id}"
method: GET
path: "/eventroutes/{id}"
tags: ["EventRoutes"]
---

# GET /eventroutes/{id}

`GET /eventroutes/{id}`

Retrieves an event route.
Status codes:
* 200 OK
* 404 Not Found
  * EventRouteNotFound - The event route was not found.

## Path parameters

- `id` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- EventRoute — A route which directs notification and telemetry events to an endpoint. Endpoints are a destination outside of Azure Digital Twins such as an EventHub.
  - `id` string — The id of the event route.
  - `endpointName` string, required — The name of the endpoint this event route is bound to.
  - `filter` string, required — An expression which describes the events which are routed to the endpoint.

## Other responses

- `default` — Default response.

---

[API](https://skmtc.net/azure/apis/digitaltwins-digitaltwins.md) · [All operations](https://skmtc.net/azure/apis/digitaltwins-digitaltwins/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/digitaltwins-digitaltwins/versions/8d81dcdaf9a2/schema)
