---
title: "Get webhook log by ID"
method: GET
path: "/webhooks/{webhookId}/logs/{id}"
tags: ["Webhook Logs"]
---

# Get webhook log by ID

`GET /webhooks/{webhookId}/logs/{id}`

## Request

- Base URL: `https://api.pax8.com/api/v2`
- URL: `https://api.pax8.com/api/v2/webhooks/{webhookId}/logs/{id}`
- Auth: none declared

Reads an instance of WebhookLogView.

## Path parameters

- `webhookId` string, uuid, required
- `id` string, uuid, required

## Response `200`

The request has succeeded.

- WebhookLog: Webhook log information
  - `id` string, uuid, required: Unique identifier for the log entry
  - `webhookId` string, uuid, required: ID of the webhook this log belongs to
  - `webhookName` string, required: Display name of the webhook
  - `finalStatus` 'PENDING' | 'SUCCESS' | 'FAILED' | 'RETRYING', required: Status of webhook delivery
  - `callHistory` WebhookCall[], required: History of delivery attempts
    - `id` string, uuid, required: Unique identifier for the call attempt
    - `timestamp` string, date-time, required: Timestamp of the call attempt
    - `status` 'PENDING' | 'SUCCESS' | 'FAILED' | 'RETRYING', required: Status of webhook delivery
    - `errorMessage` string: Error message if the call failed
    - `httpStatusCode` integer: HTTP status code returned by the webhook endpoint
    - `payload` object: The payload that was sent in the webhook
  - `createdAt` string, date-time, required: Timestamp when the log was created

## Other responses

- `400`: The request is missing required parameters or has invalid parameters
- `401`: Missing or invalid token
- `403`: User does not have permission to access this resource
- `404`: The server cannot find the requested resource.
- `500`: Server error

---

[API](https://skmtc.dev/pax8/apis/webhooks-api.md) - [All operations](https://skmtc.dev/pax8/apis/webhooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pax8/apis/webhooks-api/revisions/c0951191e943?raw)
