Skip to main content
The GitHub integration captures activity from your repositories: pushes, pull requests, code reviews, and more. This is how Cogniscape answers what changed, who did it, how it was done, and when it happened. This setup needs to be done once per repository you want to observe. If you add new repos later, just repeat the process for each one.
We never store any source code. Cogniscape only processes event metadata — commit hashes, PR titles, review comments, and similar structured data. Your code stays on GitHub. See Data Privacy for details.

Configure the webhook

1

Open your repository settings

In GitHub, navigate to your repository and go to Settings → Webhooks → Add webhook.
2

Paste the Payload URL

Use the following URL, replacing <your-customer-key> with the key from the Customer Portal:
https://api.cogniscape.app/api/v1/events/github/<your-customer-key>
3

Set Content type and Secret

  • Content type: select application/json
  • Secret: leave empty
4

Choose which events to send

Select “Send me everything” for the richest insights. This ensures Cogniscape captures all relevant activity as it happens.
If you prefer granular control, you can select specific events in the GitHub webhook creation panel. At a minimum, enable: push, pull_request, pull_request_review, pull_request_review_comment, issues, issue_comment, and deployment_status.
5

Make sure Active is checked, then save

That’s it. Events will start flowing into your knowledge graph immediately.

Verify the webhook

After saving, GitHub will send a ping event. You can check the delivery status under Settings → Webhooks → Recent Deliveries. A 200 response confirms Cogniscape received the event successfully.

Supported events

Cogniscape processes these GitHub webhook event types:
EventWhat it captures
pushCommits pushed to any branch — who committed, when, and to which branch
pull_requestPR creation, updates, merges, and closures — the full lifecycle
pull_request_reviewCode review submissions — approvals, change requests, and comments
pull_request_review_commentInline code review comments on specific lines of a diff
issuesIssue creation, updates, assignments, labeling, and closures
issue_commentComments on issues and pull requests
deployment_statusDeployment status notifications — success, failure, and pending states
Events not listed above are received but silently ignored. Selecting “Send me everything” is safe — it won’t create noise in your knowledge graph.

Multiple repositories

Each repository needs its own webhook pointing to the same URL. The customer key in the URL ensures all events are routed to the correct knowledge graph regardless of which repository sends them.
For GitHub organizations with many repositories, consider using an organization-level webhook instead. Use the same Payload URL — Cogniscape handles both repository and organization webhooks identically.