Retrieve webhooks
Returns every webhook of the project, enabled or not, with its subscribed events and failure count.
Returns every webhook of the project, enabled or not, with its subscribed events and failure count.
Authorization
api_key Pass your API key as the private_key query string parameter. Generate and rotate keys in Developer Settings of your Routal workspace.
Keys stay server-side. Never ship them to a browser or mobile app.
In: query
Query Parameters
Project id
^[0-9a-f]{24}Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/webhooks?project_id=string"[
{
"id": "4f75d991ac359f8c4c79d762",
"organization_id": "4f75d991ac359f8c4c79d762",
"project_id": "4f75d991ac359f8c4c79d762",
"url": "https://example.com",
"enabled_events": [
"routal.planner.2.plan.created",
"routal.drivers.2.route.finished"
],
"enabled": true,
"failure_count": 0,
"created_by": "4f75d991ac359f8c4c79d762",
"created_at": "2026-11-10T16:55:36.096Z",
"updated_at": "2026-11-10T16:55:36.096Z",
"deleted_at": "2026-11-10T16:55:36.096Z"
}
]{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}Retrieve vehicle vital signs
Returns the headline vital metrics (on-time, completion, cancellation, stops/hour, total cost, cost/stop, distance) for a vehicle: its value this period, its p…
Retrieve webhook events
Returns the delivery log of a webhook, newest first: one entry per delivery, successful (webhook.sent.success) or failed (webhook.sent.error), with the payload…
