DocsAF Webhooks#

GitHub webhook receivers

GitHub webhook receiver#

POST/webhooks/docsaf/github

Receives GitHub webhook events for DocsAF repositories. Verifies HMAC signature and processes push events to trigger incremental syncs.

Parameters#

NameTypeLocationRequiredDescription
X-Hub-Signature-256stringheaderYesHMAC signature for webhook verification
X-GitHub-EventstringheaderYesGitHub event type

Request Body#

Example:

{}

Code Examples#

curl -X POST "https://searchaf.antfly.io/api/v1/webhooks/docsaf/github" \\
    -H "Authorization: Bearer YOUR_API_KEY" \\
    -H "Content-Type: application/json" \\
    -d '{}'

Responses#

{
  "message": "Webhook processed"
}