This is a subset of Execute Github-Compatible Webhook, enabling compatibility with forum channels. This endpoint assumes your forum channel represents one repository, as the post titles give no indication of source.
Create a webhook in a forum channel and copy the URL
2.
Follow the guide here for adding a webhook to a GitHub repository, but replace discord.com/api with discohook.app/api/v1
This endpoint supports the following events: issues, pull_request, discussion (these cause posts to be created), issue_comment, pull_request_review, pull_request_review_comment, and discussion_comment (these are sent to existing posts if possible).
While this endpoint does not store webhook details provided to it (ID or token), it does store the relevant channel ID, thread ID, repository name and owner, and type of GitHub resource (issue/pull/discussion). This is so that Discohook can know whether it needs to create a new post or send messages to an existing one. If you would like data pertinent to you or your repository removed, contact me (shay) on the Discohook support server.
Request
Path Params
webhookId
string
required
Example:
ID of the webhook
webhookToken
string
required
Example:
Token of the webhook
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://discohook.app/api/v1/webhooks/ID of the webhook/Token of the webhook/github'