Webhooks


POST /{o}/{p}/webhooks/github

Receive a GitHub pull_request webhook

HMAC-authenticated (X-Hub-Signature-256) against the webhook secrets configured on the actions of the project named in the path. Transitions that project's matching pull-request ActionRun on PR close (merged → succeeded, closed → failed). Events the route does not act on are acknowledged with 200 once the signature verifies; everything unverified is a 401. No Bearer token.

Auth: HMAC-SHA256 signature (X-Hub-Signature-256 header) · Webhook self-auth — no Bearer token.

Path parameters

NameTypeDescription
ostring
pstring

Responses

StatusDescriptionSchema
200OKWebhookAck
400Bad RequestError
401UnauthorizedError
403ForbiddenError

POST /webhooks/github

Receive GitHub App webhook events

HMAC-authenticated (X-Hub-Signature-256, keyed on the GitHub App webhook secret, checked by the contract's HMAC guard against the key the route declares). Dispatches installation/repo lifecycle events. No Bearer token. 503 when the GitHub App is not configured on this deployment.

Auth: HMAC-SHA256 signature (X-Hub-Signature-256 header) · Webhook self-auth — no Bearer token.

Responses

StatusDescriptionSchema
200OKGitHubWebhookOutcome
400Bad RequestError
401UnauthorizedError
403ForbiddenError
404Not FoundError
503Service UnavailableError

Schemas

Error

FieldTypeDescription
errorstring(required)
codestring

GitHubWebhookOutcome

FieldTypeDescription
oktrue(required)
outcomeobject

WebhookAck

FieldTypeDescription
oktrue(required)