---
title: "Alerts with message."
method: GET
path: "/Alerts/get_alert_data.php"
tags: ["Real Time Data"]
---

# Alerts with message.

`GET /Alerts/get_alert_data.php`

Returns the travel alerts for a bus or trolley route.Get all the route id from <a href='https://www3.septa.org/api/Alerts'>here</a>

## Query parameters

- `route_id` string

## Response `200`

success

- object[]
  - `route_id` string — Bus/Trolley route id
  - `route_name` string — Bus/trolley route name
  - `current_message` string — Route alert message
  - `advisory_id` string, int32 — Unique id for advisory
  - `advisory_message` string — Advisory to customers during alerts
  - `detour_message` string — message to customers (ex: details of alternate route to take)
  - `detour_start_location` string — Location where the detour starts
  - `detour_start_date_time` string — Date and time when the route detour starts
  - `detour_end_date_time` string — Date and time when the route detour ends
  - `detour_reason` string — reason for detour
  - `last_updated` string — Time since the alert for the route was updated
  - `isSnow` 'Y' | 'N' — Determines if there are any snow alerts for the route

---

[API](https://skmtc.net/septa/apis/septa-developers.md) · [All operations](https://skmtc.net/septa/apis/septa-developers/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/septa/septa-developers/revisions/e0575f41ded3/schema)
