OPEN API
  1. Webhook
OPEN API
  • Organization Info
    • Get information about your organization
      GET
  • Drivers
    • List all drivers
      GET
    • Retrieve a driver
      GET
  • Hours Of Service
    • Get HOS clocks
      GET
    • Get all driver HOS daily logs
      GET
    • Get HOS logs
      GET
  • Vehicles
    • List all vehicles
      GET
    • Retrieve a vehicle
      GET
  • Vehicle Locations
    • Historical Vehicle Locations
      GET
    • Latest Vehicle Locations
      GET
  • Trips
    • Get Vehicle Trips
      GET
  • Vehicle Stats
    • Vehicle Stats snapshot
      GET
  • Maintenance
    • Get all DVIRs
      GET
  • IFTA
    • Get IFTA jurisdiction reports
      GET
  • Webhook
    • Sample Webhook request for specific trigger
      GET
    • Subscribe to specific immediately events
      POST
    • Available list of Triggers
      GET
    • Unsubscribe form events
      POST
  1. Webhook

Subscribe to specific immediately events

POST
http://127.0.0.1:8001/openapi/webhook/subscribe/
Webhook
Subscribe to specific immediately events

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
url
string <uri>
required
Your URL for POST requests
>= 1 characters
name
string 
required
Name for your webhook
>= 1 characters
triggers
string 
required
event_bluetooth, event_harsh, event_duty_status, fmcsa_sent, vehicle_dtc, driver_violation, billing_status, latest_location
>= 1 characters
Example
{
  "url": "http://example.com",
  "name": "string",
  "triggers": "string"
}

Request 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 POST 'http://127.0.0.1:8001/openapi/webhook/subscribe/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "http://example.com",
    "name": "string",
    "triggers": "string"
}'

Responses

🟢200OK
No response body
This response does not have a body.
Previous
Sample Webhook request for specific trigger
Next
Available list of Triggers
Built with