Fleetwire Webhooks API
The Webhooks API from Fleetwire, for webhooks.
The Webhooks API from Fleetwire, for webhooks.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fleetwire:fleetwire-webhooks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fleetwire Webhooks API
version: '1.0'
description: 'Operations tagged Webhooks across 2 of this provider''s published API definitions: fleetwire-openapi-openapi.json, fleetwire-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
tags:
- name: Webhooks
paths:
/v2/webhooks/events:
get:
tags:
- Webhooks
operationId: getWebhooksEvents
summary: List event types
description: Every event an endpoint can subscribe to.
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
events:
type: array
items:
type: string
examples:
Events:
summary: Events
value:
events:
- reservation.created
- reservation.requested
- reservation.canceled
- booking.updated
- booking.status_changed
- trip.started
- trip.ended
- payment.processed
- payment.failed
- payment.refunded
- customer.created
- customer.updated
'401':
$ref: '#/components/responses/Unauthenticated'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
/v2/webhooks:
get:
tags:
- Webhooks
operationId: getWebhooks
summary: List endpoints
description: 'Your company''s webhook endpoints, including any Zapier created (`type: zapier`).'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
examples:
Endpoints:
summary: Endpoints
value:
data:
- id: 00000000-0000-4000-8000-000000000501
url: https://example.com/fleetwire-webhooks
description: Toll sync
status: enabled
type: custom
events:
- trip.started
- trip.ended
created_at: '2026-11-01T15:00:00+00:00'
updated_at: '2026-11-01T15:00:00+00:00'
'401':
$ref: '#/components/responses/Unauthenticated'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
post:
tags:
- Webhooks
operationId: postWebhooks
summary: Create endpoint
description: '**Scope:** `webhooks:write`
Registers a URL to receive events. The response includes `signing_secret` — **this is the only time it is shown**, so store it to verify deliveries.
- `url` (string, required) — public `https://` URL
- `events` (array, required) — event names from `GET /webhooks/events`
- `description` (string, optional)'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- url
- events
properties:
url:
type: string
format: uri
maxLength: 255
description: A public `https` URL.
description:
type:
- string
- 'null'
maxLength: 255
events:
type: array
minItems: 1
uniqueItems: true
items:
type: string
enum:
- reservation.created
- reservation.requested
- reservation.canceled
- booking.updated
- booking.status_changed
- trip.started
- trip.ended
- payment.processed
- payment.failed
- payment.refunded
- customer.created
- customer.updated
status:
type: string
enum:
- enabled
- disabled
example:
url: https://example.com/fleetwire-webhooks
events:
- trip.started
- trip.ended
description: Toll sync
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
signing_secret:
type: string
examples:
Created:
summary: Created
value:
id: 00000000-0000-4000-8000-000000000501
url: https://example.com/fleetwire-webhooks
description: Toll sync
status: enabled
type: custom
events:
- trip.started
- trip.ended
created_at: '2026-11-01T15:00:00+00:00'
updated_at: '2026-11-01T15:00:00+00:00'
signing_secret: whsec_EXAMPLEEXAMPLEEXAMPLEEXAMPLE0000
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
/v2/webhooks/{id}:
get:
tags:
- Webhooks
operationId: getWebhooksId
summary: Get endpoint
description: One endpoint by its `id`.
parameters:
- name: id
in: path
required: true
description: Endpoint ID
schema:
type: string
example: 00000000-0000-4000-8000-000000000501
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
examples:
Endpoint:
summary: Endpoint
value:
id: 00000000-0000-4000-8000-000000000501
url: https://example.com/fleetwire-webhooks
description: Toll sync
status: enabled
type: custom
events:
- trip.started
- trip.ended
created_at: '2026-11-01T15:00:00+00:00'
updated_at: '2026-11-01T15:00:00+00:00'
'401':
$ref: '#/components/responses/Unauthenticated'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
put:
tags:
- Webhooks
operationId: putWebhooksId
summary: Update endpoint
description: '**Scope:** `webhooks:write`
Change any of `url`, `description`, `events` (replaces the list) or `status` (`enabled` / `disabled`). Disabled endpoints receive nothing.'
parameters:
- name: id
in: path
required: true
description: Endpoint ID
schema:
type: string
example: 00000000-0000-4000-8000-000000000501
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
maxLength: 255
description: A public `https` URL.
description:
type:
- string
- 'null'
maxLength: 255
events:
type: array
minItems: 1
uniqueItems: true
items:
type: string
enum:
- reservation.created
- reservation.requested
- reservation.canceled
- booking.updated
- booking.status_changed
- trip.started
- trip.ended
- payment.processed
- payment.failed
- payment.refunded
- customer.created
- customer.updated
status:
type: string
enum:
- enabled
- disabled
description: Send only the fields to change.
example:
events:
- trip.started
- trip.ended
- booking.updated
status: enabled
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
examples:
Updated:
summary: Updated
value:
id: 00000000-0000-4000-8000-000000000501
url: https://example.com/fleetwire-webhooks
description: Toll sync
status: enabled
type: custom
events:
- trip.started
- trip.ended
- booking.updated
created_at: '2026-11-01T15:00:00+00:00'
updated_at: '2026-11-01T15:00:00+00:00'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
delete:
tags:
- Webhooks
operationId: deleteWebhooksId
summary: Delete endpoint
description: '**Scope:** `webhooks:write`
Stops all deliveries to the endpoint. Returns `204 No Content`.'
parameters:
- name: id
in: path
required: true
description: Endpoint ID
schema:
type: string
example: 00000000-0000-4000-8000-000000000501
responses:
'204':
description: Done.
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
/v2/webhooks/{id}/deliveries:
get:
tags:
- Webhooks
operationId: getWebhooksIdDeliveries
summary: Delivery log
description: Every delivery attempt to the endpoint, newest first, 50 per page. `event_id` matches the `fleetwire-event-id` header; retries of one event share it.
parameters:
- name: id
in: path
required: true
description: Endpoint ID
schema:
type: string
example: 00000000-0000-4000-8000-000000000501
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
event_id:
type: string
event:
type: string
attempt:
type: integer
result:
type: string
http_status:
type: integer
request_body:
type: object
properties:
b_id:
type: string
l_id:
type: string
r_id:
type: string
trip_start:
type: string
trip_end:
type: string
timezone:
type: string
status:
type: string
response_body:
type:
- string
- 'null'
created_at:
type: string
examples:
Deliveries:
summary: Deliveries
value:
data:
- id: 00000000-0000-4000-8000-000000000601
event_id: 00000000-0000-4000-8000-000000000701
event: trip.started
attempt: 1
result: success
http_status: 200
request_body:
b_id: b_EXAMPLE1
l_id: l_EXAMPLE1
r_id: r_EXAMPLE1
trip_start: '2026-11-06 10:00:00'
trip_end: '2026-11-09 10:00:00'
timezone: America/Chicago
status: started
response_body: null
created_at: '2026-11-06T16:01:12+00:00'
'401':
$ref: '#/components/responses/Unauthenticated'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
security:
- apiToken: []
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
components:
responses:
ValidationFailed:
description: The request is invalid.
content:
application/json:
schema:
type: object
required:
- message
- errors
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
description: Each invalid field with its problems.
example:
message: The email field must be a valid email address.
errors:
email:
- The email field must be a valid email address.
NotFound:
description: Not found, or it isn't your company's.
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Not Found
Forbidden:
description: The token doesn't carry the scope this needs, or the plan doesn't include API access.
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Invalid ability provided.
Unauthenticated:
description: Missing or invalid token.
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Unauthenticated.
RateLimited:
description: Too many requests. Wait for the `Retry-After` header (seconds).
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
example:
message: Too Many Attempts.
schemas:
GetWebhooksRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksRequestTooManyRequestsError
GetWebhooksEventsRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksEventsRequestUnauthorizedError
V2WebhooksIdDeliveriesGetResponsesContentApplicationJsonSchemaDataItemsRequestBody:
type: object
properties:
b_id:
type: string
l_id:
type: string
r_id:
type: string
trip_start:
type: string
trip_end:
type: string
timezone:
type: string
status:
type: string
title: V2WebhooksIdDeliveriesGetResponsesContentApplicationJsonSchemaDataItemsRequestBody
V2WebhooksIdPutRequestBodyContentApplicationJsonSchemaStatus:
type: string
enum:
- enabled
- disabled
title: V2WebhooksIdPutRequestBodyContentApplicationJsonSchemaStatus
DeleteWebhooksIdRequestForbiddenError:
type: object
properties:
message:
type: string
required:
- message
title: DeleteWebhooksIdRequestForbiddenError
Webhooks_getWebhooksId_Response_200:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
title: Webhooks_getWebhooksId_Response_200
PutWebhooksIdRequestUnprocessableEntityError:
type: object
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
description: Each invalid field with its problems.
required:
- message
- errors
title: PutWebhooksIdRequestUnprocessableEntityError
Webhooks_getWebhooksIdDeliveries_Response_200:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/V2WebhooksIdDeliveriesGetResponsesContentApplicationJsonSchemaDataItems'
title: Webhooks_getWebhooksIdDeliveries_Response_200
V2WebhooksIdPutRequestBodyContentApplicationJsonSchemaEventsItems:
type: string
enum:
- reservation.created
- reservation.requested
- reservation.canceled
- booking.updated
- booking.status_changed
- trip.started
- trip.ended
- payment.processed
- payment.failed
- payment.refunded
- customer.created
- customer.updated
title: V2WebhooksIdPutRequestBodyContentApplicationJsonSchemaEventsItems
V2WebhooksPostRequestBodyContentApplicationJsonSchemaStatus:
type: string
enum:
- enabled
- disabled
title: V2WebhooksPostRequestBodyContentApplicationJsonSchemaStatus
PostWebhooksRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: PostWebhooksRequestTooManyRequestsError
GetWebhooksEventsRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksEventsRequestTooManyRequestsError
V2WebhooksPostRequestBodyContentApplicationJsonSchemaEventsItems:
type: string
enum:
- reservation.created
- reservation.requested
- reservation.canceled
- booking.updated
- booking.status_changed
- trip.started
- trip.ended
- payment.processed
- payment.failed
- payment.refunded
- customer.created
- customer.updated
title: V2WebhooksPostRequestBodyContentApplicationJsonSchemaEventsItems
V2WebhooksGetResponsesContentApplicationJsonSchemaDataItems:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
title: V2WebhooksGetResponsesContentApplicationJsonSchemaDataItems
PostWebhooksRequestUnprocessableEntityError:
type: object
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
description: Each invalid field with its problems.
required:
- message
- errors
title: PostWebhooksRequestUnprocessableEntityError
PostWebhooksRequestForbiddenError:
type: object
properties:
message:
type: string
required:
- message
title: PostWebhooksRequestForbiddenError
GetWebhooksIdDeliveriesRequestNotFoundError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksIdDeliveriesRequestNotFoundError
GetWebhooksIdRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksIdRequestTooManyRequestsError
Webhooks_postWebhooks_Response_201:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
signing_secret:
type: string
title: Webhooks_postWebhooks_Response_201
GetWebhooksIdRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksIdRequestUnauthorizedError
V2WebhooksIdDeliveriesGetResponsesContentApplicationJsonSchemaDataItems:
type: object
properties:
id:
type: string
event_id:
type: string
event:
type: string
attempt:
type: integer
result:
type: string
http_status:
type: integer
request_body:
$ref: '#/components/schemas/V2WebhooksIdDeliveriesGetResponsesContentApplicationJsonSchemaDataItemsRequestBody'
response_body:
type:
- string
- 'null'
created_at:
type: string
title: V2WebhooksIdDeliveriesGetResponsesContentApplicationJsonSchemaDataItems
DeleteWebhooksIdRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: DeleteWebhooksIdRequestUnauthorizedError
PutWebhooksIdRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: PutWebhooksIdRequestUnauthorizedError
DeleteWebhooksIdRequestNotFoundError:
type: object
properties:
message:
type: string
required:
- message
title: DeleteWebhooksIdRequestNotFoundError
PutWebhooksIdRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: PutWebhooksIdRequestTooManyRequestsError
Webhooks_putWebhooksId_Response_200:
type: object
properties:
id:
type: string
url:
type: string
description:
type: string
status:
type: string
type:
type: string
events:
type: array
items:
type: string
created_at:
type: string
updated_at:
type: string
title: Webhooks_putWebhooksId_Response_200
GetWebhooksIdDeliveriesRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksIdDeliveriesRequestTooManyRequestsError
Webhooks_getWebhooks_Response_200:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/V2WebhooksGetResponsesContentApplicationJsonSchemaDataItems'
title: Webhooks_getWebhooks_Response_200
GetWebhooksIdDeliveriesRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksIdDeliveriesRequestUnauthorizedError
GetWebhooksIdRequestNotFoundError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksIdRequestNotFoundError
PutWebhooksIdRequestForbiddenError:
type: object
properties:
message:
type: string
required:
- message
title: PutWebhooksIdRequestForbiddenError
PutWebhooksIdRequestNotFoundError:
type: object
properties:
message:
type: string
required:
- message
title: PutWebhooksIdRequestNotFoundError
Webhooks_getWebhooksEvents_Response_200:
type: object
properties:
events:
type: array
items:
type: string
title: Webhooks_getWebhooksEvents_Response_200
GetWebhooksRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: GetWebhooksRequestUnauthorizedError
PostWebhooksRequestUnauthorizedError:
type: object
properties:
message:
type: string
required:
- message
title: PostWebhooksRequestUnauthorizedError
DeleteWebhooksIdRequestTooManyRequestsError:
type: object
properties:
message:
type: string
required:
- message
title: DeleteWebhooksIdRequestTooManyRequestsError
securitySchemes:
apiToken:
type: http
scheme: bearer
description: 'An API token from **Settings → API tokens** in Fleetwire, sent as `Authorization: Bearer …`. Each token carries scopes: `read` for every GET, plus write scopes such as `bookings:write`.'
partnerKey:
type: http
scheme: bearer
description: 'Your partner key, starting with `fwp_`, sent as `Authorization: Bearer fwp_…`. Keep it server-side.
Fleetwire can rotate it at any time; the old key stops working as soon as a new one is issued.
'
x-refined-from:
- fleetwire-openapi-openapi.json
- fleetwire-openapi.json