FleetbaseFleetbase

Webhooks

Configure webhook endpoints to receive real-time HTTP callbacks when events occur in your Fleetbase instance.

Webhooks

Webhooks push event notifications to your own servers the moment something happens in Fleetbase — an order is dispatched, a driver location changes, a contact is created. Navigate to Developers → Webhooks to manage your endpoints.

Webhooks list — URL, Status badge, Mode badge, Version, Created columns

Creating a Webhook

Click New to configure a new endpoint.

Webhook form — URL, Description, API Credential, Version, and Events picker

FieldDescription
Endpoint URLThe HTTPS URL on your server that will receive POST requests
DescriptionOptional note to remind you what this webhook is for
API CredentialOptionally tie this webhook to a specific API key — limits delivery to events generated by that key
API VersionThe API version to use for event payloads
EventsThe events this endpoint subscribes to

Selecting Events

The events picker groups available events by resource (e.g. Order, Driver, Vehicle). Use the search field to filter, then click individual events to add them. Selected events appear in the panel below with a remove button next to each. You can also click All events to subscribe to every event in one step, or Clear to remove all selections.

Events available depend on which extensions are installed on your instance.

Webhook Table

ColumnDescription
URLThe destination endpoint — click to open the detail view
Statusenabled or disabled
Modetest or live — matches the environment the webhook was created in
VersionThe API version used for payload formatting
CreatedWhen the endpoint was registered

Webhook Detail View

Click any webhook URL to open its detail page.

Webhook detail view — Metrics panel, Details panel, and Attempts log

The detail view has three panels:

Metrics

A summary of delivery health — total attempts, successful deliveries, and failures. Use this to get a quick sense of whether your endpoint is receiving events reliably.

Details

The full configuration of the webhook — URL, description, API credential, API version, and subscribed events. Click Update to edit any field.

Attempts

A delivery log showing every time Fleetbase sent a request to this endpoint. Each entry shows the event that fired, the response status code, and a timestamp.

Webhook Attempts log — event name, HTTP status code, and timestamp for each delivery

Use the attempts log to debug failed deliveries — a 5xx response or no response means your endpoint is down or misconfigured.

Enabling and Disabling a Webhook

From the detail page, use the Disable / Enable button in the header to pause or resume delivery without deleting the endpoint. Disabled webhooks remain in the list but receive no traffic.

Deleting a Webhook

Use the Delete button on the detail page or ⋯ → Delete from the list. Deleting removes the endpoint permanently along with its delivery history.

Payload Format

Fleetbase sends an HTTP POST to your endpoint with a JSON body for each event.

{
  "id": "evt_01HXYZ",
  "event": "order.dispatched",
  "api_version": "v1",
  "created_at": "2026-04-29T10:30:00Z",
  "data": {
    "id": "order_01HABC",
    "public_id": "ORD-1001",
    "status": "dispatched"
  }
}

Best Practices

  • Respond quickly — return a 2xx status within a few seconds. For slow processing, acknowledge immediately and handle the payload asynchronously.
  • Handle retries — Fleetbase retries failed deliveries. Make your endpoint idempotent so the same event processed twice does not cause duplicate side effects.
  • Use HTTPS — always serve your endpoint over HTTPS to protect payload data in transit.
Webhooks | Fleetbase