DocsAF Webhooks
GitHub webhook receivers
GitHub webhook receiver
POST
/webhooks/docsaf/githubReceives GitHub webhook events for DocsAF repositories. Verifies HMAC signature and processes push events to trigger incremental syncs.
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
X-Hub-Signature-256 | string | header | Yes | HMAC signature for webhook verification |
X-GitHub-Event | string | header | Yes | GitHub 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"
}