---
title: "Get a webhook by ID"
method: GET
path: "/v1/webhooks/{id}"
tags: ["Webhooks"]
---

# Get a webhook by ID

`GET /v1/webhooks/{id}`

## Request

- Base URL: `https://api.honkio.ca`
- URL: `https://api.honkio.ca/v1/webhooks/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Requires `webhooks:r`.

## Path parameters

- `id` string, required

## Response `200`

The endpoint.

- Webhook: A registered webhook endpoint. The signing secret is shown once, at creation or rotation.
  - `id` string, required
  - `url` string, required
  - `events` string[], required
  - `active` boolean, required
  - `deactivated_reason` string, nullable, required: Why delivery disabled the endpoint, when it did: e.g. "HTTP_401 for 26h across 7 events" after 24 hours of failure across at least 5 events, or SSRF_BLOCKED.
  - `deactivated_at` string, date-time, nullable, required
  - `failing_since` string, date-time, nullable, required: The first failed attempt since the last successful delivery; null while the endpoint is healthy. Any delivered attempt clears it.
  - `failed_events` integer, required: Distinct events that have failed since failing_since. The endpoint is disabled once every attempt has failed for 24 hours and this reaches 5.
  - `last_success_at` string, date-time, nullable, required: The last delivered attempt, to within a minute.
  - `last_failure_at` string, date-time, nullable, required
  - `last_failure_reason` string, nullable, required: The last failed attempt's result: HTTP_<status>, HTTP_<status>_REDIRECT_NOT_FOLLOWED, TIMEOUT or NETWORK_ERROR.
  - `secret_rotated_at` string, date-time, nullable, required: When the signing secret was last rotated (POST /v1/webhooks/{id}/rotate-secret); null while the endpoint still signs with the secret it was created with.
  - `created_at` string, date-time, required

## Other responses

- `401`: Missing, invalid, revoked or expired API key.
- `402`: The account has no balance, or a LIVE key was used before the first top-up.
- `403`: The API key lacks the permission this operation requires, or the account is suspended or closed.
- `404`: NOT_FOUND: no such resource on this account.
- `429`: Rate limit reached: 100 requests per second per account, or a route-specific limit (Retry-After set where one applies).
- `500`: Unexpected server error.

---

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