---
title: "Returns all logs of the webhook with the specified id."
method: GET
path: "/webhooks/{webhookId}/logs"
tags: ["webhooks"]
---

# Returns all logs of the webhook with the specified id.

`GET /webhooks/{webhookId}/logs`

<Check title="Required Permissions" icon="key">The user must be an admin or have `workspace-manage-config:read` permissions.</Check>

## Path parameters

- `webhookId` string, uuid, required

## Query parameters

- `page` integer
- `pageSize` integer
- `orderby` string
- `filterby` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- WebhookLog[]
  - `message` string, nullable — The message which has been sent to the webhook receiver.
  - `webhookId` string, uuid — The id of the webhook.
  - `responseCode` integer — The HTTP response code of the request.
  - `createdOn` string, date-time — The date the log was created.
  - `reason` string, nullable — The failure reason if the request failed.
  - `isSuccessful` boolean — Whether the request was successful.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
