---
title: "Get a global webhook"
method: GET
path: "/admin/hooks/{hook_id}"
tags: ["enterprise-admin"]
---

# Get a global webhook

`GET /admin/hooks/{hook_id}`

## Path parameters

- `hook_id` integer, required

## Response `200`

Response

- GlobalHook
  - `type` string
  - `id` integer
  - `name` string
  - `active` boolean
  - `events` string[]
  - `config` object
    - `url` string
    - `content_type` string
    - `insecure_ssl` string
    - `secret` string
  - `updated_at` string
  - `created_at` string
  - `url` string
  - `ping_url` string

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-5.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-5/versions/50ae54440071/schema)
