Software AG Products 10.11 | Using Developer Portal | Developer Portal REST APIs | Managing webhooks
 
Managing webhooks
Overview
This REST API is used to manage webhooks. You can view, add, update, and delete webhooks.
List of resources
*GET /hooks
Retrieves the list of webhooks.
*POST /hooks
Creates a webhook with the given details.
*GET /hooks/{id}
Retrieves the details of the specified webhook.
*POST /hooks/{id}
Updates the specified webhook with the given details.
*DELETE /hooks/{id}
Deletes the specific webhook.
*GET /hooks/events
Retrieve the list of events to which a webhook can be created.
Sample cURL Command
curl --location --request GET 'developer_portal_rest_base/hooks/' \
--header 'Authorization: Basic basic_auth'
The webhooks.yaml file is located at SAGInstallDir\DeveloperPortal\developers\openapis.