Create a global webhook
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Body
application/json
Body
Must be passed as “web”.
Key/value pairs to provide settings for this webhook.
Show Child Parameters
The events that trigger this webhook. A global webhook can be triggered by user and organization events. Default: user and organization.
Determines if notifications are sent when the webhook is triggered. Set to true to send notifications.
Default:true
Response
201 application/json
Response
Response
global-hook
Show Child Parameters
Headers
Body
Get a global webhook
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Response
200 application/json
Response
Response
global-hook
Show Child Parameters
Path Parameters
Headers
Update a global webhook
Parameters that are not provided will be overwritten with the default value or removed if no default exists.
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Body
application/json
Body
Key/value pairs to provide settings for this webhook.
Show Child Parameters
The events that trigger this webhook. A global webhook can be triggered by user and organization events. Default: user and organization.
Determines if notifications are sent when the webhook is triggered. Set to true to send notifications.
Default:true
Response
200 application/json
Response
Response
global-hook-2
Show Child Parameters
Path Parameters
Headers
Body
Delete a global webhook
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Response
204
Response
Response
Path Parameters
Headers
Ping a global webhook
This will trigger a ping event to be sent to the webhook.
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Response
204
Response
Response