CoderHelm Docs
APIWebhooks

GitHub App events

POST
/webhooks/github

Where GitHub sends every event of the CoderHelm GitHub App. Installing the app sets this up; you only call it yourself when you self-host. Each request is signed with the app's webhook secret in X-Hub-Signature-256 (sha256= and the hex HMAC-SHA256 of the raw body), compared in constant time. The event type comes from X-GitHub-Event and the body must name an installation. Events CoderHelm doesn't act on, and events from an installation not linked to a team, are accepted with 200 and ignored.

Authorization

github_signature
headerX-Hub-Signature-256<token>

sha256= and the hex HMAC-SHA256 of the raw body, keyed with the GitHub App's webhook secret.

Header Parameters

X-GitHub-Event*string

The event type, such as issues, pull_request or push.

X-GitHub-Delivery?|

GitHub's id for this delivery.

Request Body

The event payload, as GitHub defines it for each event type. It must include installation.id.

application/json
  1. body

Response Body

Accepted.

curl -X POST 'https://api.coderhelm.com/webhooks/github' \  -H 'X-GitHub-Event: issues' \  -H 'Content-Type: application/json' \  -d '{}'
Empty
Edit on GitHub