Provide a URL for a call-back server to listen and receive webhook notifications sent by RoscoLive for the notification types(type_ids) subscribed to for the passed in company_id. More than one URL can be subscribed to the same notification types for the same company. Use the Delete Webhook Subscription endpoint to remove a webhook subscription from the company if it is no longer required.
Type
Type ID
Events and Alerts
0
Alerts
1
Events
2
Device Status (Connection Status)
3
Ignition State
4
Input Sensor
5
Unidentified Driver
6
Identified Driver
7
Channel Status (Bad Channel)
8
Request
Path Params
Body Params multipart/form-data
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://fleet.roscolive.com/api/v1.0/companies/1234/webhook' \
--form'subscribe_url="https://prod-example-39.webhook.cool"' \
--form'type_ids=""'