---
title: "Get paginated execution logs for a webhook."
method: GET
path: "/webhooks/{webhookId}/logs"
tags: ["Webhook"]
---

# Get paginated execution logs for a webhook.

`GET /webhooks/{webhookId}/logs`

Returns a paginated list of Komerza.Database.Entities.Webhooks.WebhookExecutionLog entries for the given webhook.
Supports filtering by response code and success/failure status via query parameters.
Requires the `user.webhooks.view` permission.

## Path parameters

- `webhookId` string, uuid, required

## Query parameters

- `ResponseCode` integer
- `Success` boolean
- `From` string, date-time
- `To` string, date-time
- `Filters` string
- `Sorts` string
- `Page` integer
- `PageSize` integer

## Response `200`

The object was successfully returned.

- WebhookExecutionLogPaginatedResponse — Represents a paginated response returned from API endpoints, which contains the paginated data and metadata about the pagination.
  - `success` boolean, required — Indicates whether the operation was successful
  - `pages` integer, required — The total number of pages available in the paginated response.
  - `data` WebhookExecutionLog[], required — Represents the collection of items within a paginated response
    - `id` string, uuid, required — The unique identifier of the entity
    - `dateCreated` string, date-time, required — The date the entity was created in the database
    - `url` string, required — The URL associated with the webhook execution log.
    - `signature` string, required — The signature of the webhook execution, used for validation and security purposes.
    - `requestBody` string, required — The body of the request sent in a webhook execution.
    - `responseCode` integer, nullable — The HTTP response code resulting from executing the webhook.
    - `responseBody` string, nullable — The response body returned by a webhook execution log.
    - `webhookId` string, uuid, nullable — The unique identifier of the webhook associated with this log.
    - `userId` string, nullable — The ID of the user who owns the webhook. Nullable for backwards compatibility with existing logs that predate this field.
    - `retryCount` integer, required — The number of times this webhook has been dispatched (initial + retries via Hangfire requeue). Starts at 1 for the first attempt and increments on each resend.
    - `userAgent` string, nullable — The user agent header sent to the merchant's endpoint.
    - `orderId` string, uuid, nullable — The unique identifier for the order associated with the webhook execution log.

## Other responses

- `401` — You are not authorized, check your API key and try again.
- `403` — You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
- `404` — One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.

---

[API](https://skmtc.net/komerza/apis/komerza-api.md) · [All operations](https://skmtc.net/komerza/apis/komerza-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/komerza/komerza-api/revisions/060e78bc7f80/schema)
