Automate workflows with real-time events from GitHub Contribution Staking. Monitor contributions, staking updates, and NFT claims through secure webhooks.
Trigger actions when users stake, verify, or claim milestones
Receive notifications when verification status, staking activities, or contribution milestones change.
Trigger notifications when new contribution-based NFTs are generated and claimed by users.
Automatically track staking lockups, rewards distribution, and withdrawal events.
Connect your service to GitHub Contribution Staking for real-time updates. Follow these steps to register and handle events.
Build a server or service that accepts HTTPS POST requests from our API at your endpoint.
Login and navigate to Developer Settings to create a new webhook API key.
Register your endpoint and select which event types to receive.
Test your endpoint with our webhook simulator to ensure proper delivery.
POST YOUR_REGISTERED_ENDPOINT_URL
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"event": "contribution.verified",
"data": {
"contribution_id": "12345",
"github_username": "john",
"repo_name": "my-project",
"commit_hash": "a1b2c3d4",
"timestamp": "2025-09-08T12:34:56Z"
}
}
Triggered when a new contribution is verified and marked for staking eligibility.
Sent when a user's contributions are locked for staking with a specific duration.
Notifies when rewards are generated and transferred to a user's staking wallet.
Triggered for every new contribution-based NFT created and added to a user's library.
Sent when a user links their GitHub account and begins tracking contributions.
Notifies when a user unlocks and withdraws their staked contribution records.
Ensure all webhooks use HTTPS for secure communication and to prevent tampering with requests in transit.
Use API tokens for authentication and ensure all payloads are verified using the provided signature.