Ping a global hook

Note: The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

application/vnd.github.superpro-preview+json

Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact your GitHub Enterprise site administrator.

This will trigger a ping event to be sent to the hook.

POST /admin/hooks/:hook_id/pings

Response

Status: 204 No Content