---
title: "Retrieve Webhook Event"
method: GET
path: "/webhook_events/{id}"
tags: ["Webhook Events"]
---

# Retrieve Webhook Event

`GET /webhook_events/{id}`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/webhook_events/{id}`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/webhook_events/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the details of an existing Webhook Event.

## Path parameters

- `id` string, required

## Response `200`

OK

- WebhookEvent: A Webhook Event
  - `id` integer
  - `created_at` string, date-time: The date and time at which this record was created.
  - `updated_at` string, date-time: The date and time at which this record was most recently updated.
  - `attempts` integer: The number of times Fleetio attempted to send this event to the Webhook endpoint.
  - `event` string: The event that triggered this Webhook.
  - `last_error` string, nullable: The last error that occurred when attempting to trigger this Webhook.
  - `last_sent_at` string, date-time, nullable: The date and time at which this webhook event was last sent.
  - `payload` string: The payload that was sent to the Webhook endpoint.
  - `response_body` string, nullable: The response body from the Webhook endpoint.
  - `response_code` integer, nullable: The response code from the Webhook endpoint.
  - `retried_at` string, date-time, nullable: The date and time at which this Webhook was last retried.
  - `status` string, nullable: The status of this Webhook event.
  - `webhook_id` integer

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `500`: Something unexpected happened

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
