---
title: "Ping a repository webhook"
method: POST
path: "/repos/{owner}/{repo}/hooks/{hook_id}/pings"
tags: ["repos"]
---

# Ping a repository webhook

`POST /repos/{owner}/{repo}/hooks/{hook_id}/pings`

This will trigger a [ping event](https://docs.github.com/enterprise-cloud@latest/webhooks/#ping-event) to be sent to the hook.

## Path parameters

- `owner` string, required
- `repo` string, required
- `hook_id` integer, required

## Response `204`

Response

## Other responses

- `404` — Resource not found

---

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