API to download the JSON schema of Webhook payload

We can configure the Webhook with URL for different events, such as issue, push and so on. When the event occurs, the payload is sent to the URL configured automatically. Can you please point out if there are the separate APIs to download the JSON schema used by Webhook payload on the fly? Here is an example of that. Thanks.