---
title: "GET /v1/webhooks/{webhook_id}/events"
method: GET
path: "/v1/webhooks/{webhook_id}/events"
tags: ["Webhooks"]
---

# GET /v1/webhooks/{webhook_id}/events

`GET /v1/webhooks/{webhook_id}/events`

Fetch all the events for a webhook.

## Path parameters

- `webhook_id` integer, required

## Query parameters

- `response_http_status_gte` integer
- `response_http_status_lte` integer
- `created_before` string, date-time
- `created_after` string, date-time
- `page` integer
- `per` integer

## Response `200`

200 response

- ListWebhookEventsResponse
  - `events` WebhookEventSummary[], required
    - `id` integer, required — The unique ID of the webhook.
    - `workflow_state` string, required — The state of the webhook (e.g., verified, pending, failed).
    - `webhook_id` integer, required — The unique ID of the webhook.
    - `attempt_count` integer, required — The attempt number of the webhook event. (A webhook will attempt to send events four times before the webhook itself permanently fails. When a webhook permanently fails, any additional webhook event attempts will be cancelled.)
    - `last_attempted_at` string, date-time, nullable, required — The date and time the webhook event was last attempted. Formatted in ISO8601.
    - `created_at` string, date-time, required — The date and time the webhook event was initially created. Formatted in ISO8601.
    - `object_type` string, required — The resource group of the webhook event trigger (i.e., if you are using the “User.created” webhook event, the object_type is User).
    - `object_id` integer, required — Fetch all the events for a webhook.
    - `response_http_status` integer, nullable, required — The HTTP response code of the webhook event (e.g., an HTTP response code of 200 is successful, a response code of 410 is cancelled or permanently failed.)
  - `meta` PaginationMeta, required
    - `total` integer, required — The total number of items.
    - `page` integer, required — The current page.
    - `from` integer, required — First item number on page.
    - `to` integer, required — Last item number on page.
    - `per_page` integer, required — The number of items displayed per page.
    - `number_of_pages` integer, required — The total number of pages.

---

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