Here's how you can create a hook that posts payloads in JSON format:
Create an organization webhook
Arguments
key org org [scalar]
The organization name. The name is not case sensitive.
API:
Github Open API
(version: 1.1.4)
Returns
201 application/json org-hook org-hook [object]
API:
Github Open API
(version: 1.1.4)
404 not_found not_found [scalar]
API:
Github Open API
(version: 1.1.4)
422 validation_failed validation_failed [scalar]
Validation failed, or the endpoint has been spammed.
API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)