v1

latestOpenAPI 3.0.0Apache 2.02026-07-17362847.3 KB
simulator

register a new event-triggered webhook

post/simulator/webhooks

Request body

webhooksstring[] required
notificationUrlstring uri required

Example request

{
  "webhooks": [
    "automation_level_changed",
    "driver_changed",
    "journey_begin",
    "journey_end",
    "location_changed",
    "ignition_changed",
    "harsh_acceleration",
    "harsh_braking"
  ],
  "notificationUrl": "https://myserver/endpoint"
}

Response

Webhook registered

subscriptionIdstring uuid required

Example response

{
  "subscriptionId": "3701fac0-391b-4ad7-8392-8cba1ae5feca"
}