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

# Get a webhook endpoint

`GET /webhooks/{id}`

Returns one webhook endpoint in the caller's scope (no secret material). A scope/owner mismatch is reported as 404. Requires the webhooks.manage permission.

## Path parameters

- `id` string, required — Webhook endpoint id.

## Response `200`

The requested webhook endpoint.

- WebhookEndpoint — A webhook endpoint (no secret material).
  - `id` string, required — Webhook endpoint id.
  - `scopeType` 'game' | 'league' | 'org' | 'team' | 'user', required — The single scope dimension an endpoint is bound to.
  - `scopeId` string, required — Stringified bound scope id.
  - `url` string, required — Delivery URL.
  - `secretPrefix` string, required — First 8 chars of the current signing secret (display only).
  - `events` string[], required — Subscribed event tokens.
  - `isActive` boolean, required — Whether the endpoint receives deliveries.
  - `label` string, nullable, required — Human label, or null.
  - `failureCount` integer, required — Consecutive dead-lettered deliveries (auto-disables at 50).
  - `lastDeliveredAt` number, nullable, required — Epoch ms of the last successful delivery, or null.
  - `lastFailedAt` number, nullable, required — Epoch ms of the last failed delivery, or null.
  - `createdAt` number, required — Creation epoch ms.
  - `updatedAt` number, required — Last update epoch ms.

## Other responses

- `400` — Bad request (invalid body, cursor, limit, or date).
- `401` — Missing or invalid API key.
- `403` — API key lacks the required permission.
- `404` — Resource not found.
- `429` — Rate limited.

---

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