Webhook Events

Retrieve Webhook Event

Retrieve the details of an existing Webhook Event.

get/webhook_events/{id}

Request

Path parameters

idstring required

The id of the relevant record

Response

OK

idinteger
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

The date and time at which this record was most recently updated.

attemptsinteger

The number of times Fleetio attempted to send this event to the Webhook endpoint.

eventstring

The event that triggered this Webhook.

last_errorstring nullable

The last error that occurred when attempting to trigger this Webhook.

last_sent_atstring date-time nullable

The date and time at which this webhook event was last sent.

payloadstring

The payload that was sent to the Webhook endpoint.

response_bodystring nullable

The response body from the Webhook endpoint.

response_codeinteger nullable

The response code from the Webhook endpoint.

retried_atstring date-time nullable

The date and time at which this Webhook was last retried.

statusstring nullable

The status of this Webhook event.

webhook_idinteger

Example response

{
  "created_at": "2023-03-14T13:46:27-06:00",
  "updated_at": "2023-03-14T13:46:27-06:00",
  "last_sent_at": "2023-03-14T13:46:27-06:00",
  "retried_at": "2023-03-14T13:46:27-06:00"
}

Changes

No recorded changes to this operation across all 6 revisions of this API.