---
title: "Get a webhook resource"
method: GET
path: "/hook_events"
tags: ["Webhooks"]
---

# Get a webhook resource

`GET /hook_events`

Returns the webhook resource or subject types on which webhooks can
be registered.

Each resource/subject type contains an `events` link that returns the
paginated list of specific events each individual subject type can
emit.

This endpoint is publicly accessible and does not require
authentication or scopes.

## Response `200`

A mapping of resource/subject types pointing to their individual event types.

- SubjectTypes — The mapping of resource/subject types pointing to their individual event types.
  - `repository` object
    - `events` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
  - `workspace` object
    - `events` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string

---

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