---
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/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.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api/versions/a367f7028301/schema)
