RoscoLive API v1.0
  1. User
RoscoLive API v1.0
  • Company
    • create a company
      PUT
    • get a company by ID
      GET
    • update company
      POST
    • get a company
      GET
    • get companies
      GET
    • get partner companies list
      GET
    • get own partner company
      GET
  • Device
    • Get a device
      GET
    • get list of company devices
      GET
  • Device Firmware
    • get available firmware versions
      GET
    • get list of latest firmware versions
      GET
    • push firmware to device
      POST
    • cancel pending firmware update to devices
      DELETE
    • get firmware updates history for company
      GET
  • Driver Scoring / Coaching
    • get company drivers list
      GET
    • add a driver
      PUT
  • Event
    • Get company events
      GET
    • Request videos of an event
      PUT
    • get a last event of devices
      GET
    • get geotab events
      GET
    • get a last updated event of devices
      GET
    • update an event
      POST
  • Live streaming
    • start live streaming
  • Report
    • get list of companies with data usage for date range
  • User
    • Update notification by email
      POST
    • Get event / sms notification settings
      GET
  1. User

Update notification by email

POST
/users/updatenotifications/{email}
Update notifications by email. Params must be stringified json
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://fleet.roscolive.com/api/v1.0/users/updatenotifications/' \
--form 'harshaccel="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'harshbraking="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'alert_idling="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'daily_recording_status_notifs="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'daily_new_cameras_notifs="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'alert_no_sd_card="{email\": bool, \"sms: bool}"' \
--form 'alert_camera_errors="{email\": bool, \"sms: bool}"' \
--form 'seatbelt="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'smoking="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'data_pool_usage="{email\": bool, \"sms\": bool, \"frequency\": str}"' \
--form 'data_pool_warning="{email\": bool, \"sms\": bool, \"frequency\": str}"' \
--form 'device_high_data_usage="{email\": bool, \"sms\": bool, \"threshold_data_pool\": str}"' \
--form 'camera_block="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"'
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": "notifications have been successfully updated",
    "result": "OK"
}

Request

Path Params
email
string 
required
Body Params multipart/form-data
harshaccel
string <json>
optional
Harsh Acceleration notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
harshbraking
string <json>
optional
Harsh Braking notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
alert_idling
string <json>
optional
Idling notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
daily_recording_status_notifs
string <json>
optional
Channel hardware channel performance notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
daily_new_cameras_notifs
string <json>
optional
Fleet update notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
alert_no_sd_card
string <json>
optional
No SD Card alert notification
Example:
{email": bool, "sms: bool}
alert_camera_errors
string <json>
optional
Camera errors notification
Example:
{email": bool, "sms: bool}
seatbelt
string <json>
optional
Seatbelt event notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
smoking
string <json>
optional
Smoking event notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
data_pool_usage
string <json>
optional
Company data pool usage notification
Example:
{email": bool, "sms": bool, "frequency": str}
data_pool_warning
string <json>
optional
Company data pool usage warning notification
Example:
{email": bool, "sms": bool, "frequency": str}
device_high_data_usage
string <json>
optional
Device high data consumption notification
Example:
{email": bool, "sms": bool, "threshold_data_pool": str}
camera_block
string <json>
optional
Camera block event notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}

Responses

🟢200Success
application/json
Body
meta
object 
required
Request metadata object
code
integer 
required
HTTP status code returned by server
response
string 
required
Contains response data
result
string 
required
"OK" if request successful, otherwise "Failed"
🟠401Login Required
Modified at 2025-05-06 13:07:22
Previous
get list of companies with data usage for date range
Next
Get event / sms notification settings
Built with