Back

POST /api/integrations/github/webhook

Route source: app/api/integrations/github/webhook/route.ts. Access: GitHub HMAC signature in X-Hub-Signature-256. Status codes are read from the route implementation.

POST/api/integrations/github/webhook

Access

GitHub HMAC signature in X-Hub-Signature-256

Request

Request body in the handler contract: none.

Synthetic curl example
curl -i -X POST 'https://portal.rfi-irfos.com/api/integrations/github/webhook' \
  -H "X-Hub-Signature-256: $SYNTHETIC_SIGNATURE" \
  -H 'Content-Type: application/json' \
  --data-binary @request.json

Response

The handler returns JSON. Response fields are defined in the linked route source.

200 202 400 401 413 500 503

The linked source file contains the authoritative field validation and response structure.

Error codes

  • 400 · Request or input validation failed
  • 401 · Session or credentials are missing or invalid
  • 413 · Request body exceeds the size limit
  • 500 · Internal handler error
  • 503 · Service or database is unavailable

Code evidence

app/api/integrations/github/webhook/route

Local index↑ ↓ · Enter · Esc