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

# Get a webhook subscription

`GET /webhooks/{webhook_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/webhooks/{webhook_id}`
- Auth: API key in header `API-Key`

Required scope: `webhooks:read`

## Path parameters

- `webhook_id` string, uuid, required

## Response `200`

The request has succeeded.

- WebhookSubscription: Saved webhook subscription for the authenticated workspace.
  - `id` string, uuid, required
  - `name` string, required
  - `url` string, required
  - `enabled` boolean, required
  - `source` 'keycloak' | 'platform', required
  - `event_types` string[], required
  - `cluster_id` string, uuid
  - `realm_id` string
  - `has_authorization_header` boolean, required
  - `has_signing_secret` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `422`: Client error
- `429`: Client error
- `500`: Server error
- `501`: Server error

---

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