1. Metadata
RoscoLive API v1.0(v2.40.0)
  • Report
    • Get custom report data
      GET
    • Get all events report for company
      GET
    • Get event count summary report for company devices
      GET
    • Update custom report
      POST
    • Create custom report for user
      PUT
  • Company
    • private
      • Create a new partner company
      • Update partner company info
      • Get a partner company
      • Disable a customer company
      • Enable a customer company
      • Disable a partner company
      • Enable a partner company
    • Create a company
      PUT
    • Get audit logs of a company
      GET
    • Get a company by ID
      GET
    • Update company
      POST
    • Get companies list
      GET
    • Get a company
      GET
    • Get companies
      GET
    • Get own partner company
      GET
  • User
    • Get Company Users
      GET
    • Get User Info from Email Address
      GET
    • Update a User's Info
      POST
    • Get my Own User Info
      GET
    • Create a User
      PUT
    • Update notification by email
      POST
  • Device
    • Update a device settings
      POST
    • Get company devices with modems
      GET
    • Get a device
      GET
    • Create devices (auto-prov/DV4/DV6/DV7)
      PUT
  • Driver Scoring / Coaching
    • Get company drivers list
    • Get driver scores
    • Add new driver to company
    • Get company event score weights
    • Update company event score weights
  • Event
    • Get an Event of a Device by Start Time
    • Get an Event by ID and Storage Type
    • Get Company Events
    • Get Event by Company and ID
    • Get Flagged Company Events
    • Get Device Events for Period
    • Get list of company events
  • Metadata
    • Get alerts and events of devices for company
      GET
    • Get alerts of a driver
      GET
  • Fleet Configuration
    • Get profiles of a company
    • Get company default profile settings
    • Remove a company profile
    • Create new profile in a company
    • Get a company profile
    • Get profile history
    • Update a company profile
  • DocuWiki Support
    • Rosco customer registration
  • Installer App
    • Add install report
    • Installer registration
    • Install Rosco device
  1. Metadata

Get alerts and events of devices for company

GET
/partners/companies/{company_name}/devices/alerts
Returns an response that contains events and alerts sent by the devices for a company in the time window specified.
Values for event_type
gsensor
speed
critical_gsensor
driver
sensor
pending
custom
headway
camerablock
stop_sign_violation
traffic_light_violation
high_speeding
low_speeding
moderate_speeding
severe_speeding
Values for alert_type
SD Card Failure
Improper Shutdown
Camera Failure
HddError
Roles with endpoint access
RolePermission
Partner
Partner View
Custom Partner
Fleet Manager
Group Manager
User
Custom User

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Bodyapplication/json

🟠401Login Required
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://fleet.roscolive.com/api/v1.0/partners/companies//devices/alerts?start_ts=&end_ts=&ids=&page_number=&page_size=&alert_type=&event_type='
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": [
        {
            "alarms": [
                {
                    "alert_type": "UncleanShutdown",
                    "asset_id": null,
                    "event_id": null,
                    "id": 4422724,
                    "timestamp": "2024-11-14 15:51:04",
                    "type": "UncleanShutdown"
                }
            ],
            "asset_id": 446,
            "device_id": 51794261,
            "events": [
                {
                    "asset_id": null,
                    "event_display_type": "External Driver Event",
                    "event_type": "External Driver",
                    "id": 2635717,
                    "timestamp": "2025-10-01 00:55:50"
                },
                {
                    "asset_id": null,
                    "event_display_type": "",
                    "event_type": "CameraBlock",
                    "id": 2635752,
                    "timestamp": "2025-10-03 11:54:25"
                },
                {
                    "asset_id": null,
                    "event_display_type": "",
                    "event_type": "Seatbelt",
                    "id": 2636000,
                    "timestamp": "2025-10-11 10:39:26"
                },
                {
                    "asset_id": null,
                    "event_display_type": "",
                    "event_type": "CameraBlock",
                    "id": 2636006,
                    "timestamp": "2025-10-11 16:28:17"
                }
            ],
            "vehicle_name": "Truck A"
        }
    ],
    "result": "OK"
}
Modified at 2026-05-15 10:48:30
Previous
Get list of company events
Next
Get alerts of a driver
Built with