# Ping a global webhook

From **GitHub v3 REST API**.

`POST /admin/hooks/{hook_id}/pings`

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

## Parameters

### `accept`

- Location: header
- Required: true
- Type: `string`
- Default: `application/vnd.github.superpro-preview+json`

This API is under preview and subject to change.

### `hook_id`

- Location: path
- Required: true
- Type: `integer`

## Responses

### `204`

Response

## Request examples

### cURL

```shell
curl --request POST \
  --url {protocol}://{hostname}/api/v3/admin/hooks/{hook_id}/pings
```
