---
title: "Retrieve webhook logs"
method: GET
path: "/webhook/{id}/log"
tags: ["webhook"]
---

# Retrieve webhook logs

`GET /webhook/{id}/log`

## Path parameters

- `id` string, required

## Response `200`

Success

- WebhookLog[]
  - `id` string, required
  - `webhookId` string, required — ID of the webhook this request was made for
  - `event` string — The event type that triggered the webhook request
  - `createdAt` number — Timestamp (in milliseconds) at which webhook request object was created
  - `duration` number — The time taken (in seconds) to make the webhook request
  - `success` boolean — Whether the webhook request was successful
  - `request` object
    - `url` string — URL used for the request
    - `method` string — HTTP request method
    - `headers` object — HTTP request headers
    - `body` string — request body
  - `response` object
    - `body` string — response body
    - `status` number — HTTP status code
    - `statusText` string — response status text

## Other responses

- `default` — Error

## Changes

- **2024-05-17** `fc477586b24c` — 1 breaking
  - the response property `errors` became optional for the status `default`
- **2024-04-23** `d0909f9b9414` — 2 info
  - api operation id `getWebhookLogs` was added
  - api tag `webhook` added
- **2024-02-16** `5bb939a8d728` — 1 info
  - added the optional property `items/success` to the response with the `200` status

[Change history](https://skmtc.dev/livepeer/apis/livepeer-api-reference/changes/webhook/:id/log/get.md)

---

[API](https://skmtc.dev/livepeer/apis/livepeer-api-reference.md) · [All operations](https://skmtc.dev/livepeer/apis/livepeer-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/livepeer/livepeer-api-reference/revisions/0d7e15217608/schema)
