Preparing your workspace...

assistant-chat.tsx2.5k
utils.ts850
button.tsx720
Quick Actions
codmir
Docs
Discord
Get started
API
  • Introduction
  • Installation
  • Your First Project
  • Your First Agent
  • Overview
  • CodmirClient
  • API Client
  • Webhooks

Webhooks

Receive real-time notifications when events happen in your Codmir projects.

GitHub Webhooks

Codmir can receive GitHub webhooks to automatically enqueue agent tasks when issues are created, PRs are opened, or commits are pushed.

Setup

  1. Go to your GitHub repository → Settings → Webhooks → Add webhook
  2. Set the Payload URL to https://your-server.codmir.com/webhooks/github
  3. Set Content type to application/json
  4. Set a secret and add it as GITHUB_WEBHOOK_SECRET in your server environment
  5. Select the events you want to trigger (Issues, Pull requests, Push)

Security

All GitHub webhooks verify the x-hub-signature-256 header via HMAC when GITHUB_WEBHOOK_SECRET is configured. Requests with invalid signatures are rejected.

Generic Webhooks

The generic webhook endpoint (POST /webhooks/generic) accepts arbitrary JSON payloads and can trigger agent tasks. This endpoint requires authentication in production.

POST /webhooks/generic
Content-Type: application/json
Authorization: Bearer <token>

{
  "event": "custom.trigger",
  "projectId": "project-123",
  "data": { ... }
}

Related

  • Agent SDK — Agents that respond to webhook events
  • Git Integration — Connect your repositories
  • Security — Webhook signature verification
Open in ChatGPTOpen in ClaudeConnect MCP on CursorConnect MCP on WindsurfEdit on GitHub
codmir
Products
Desktop AppMobile AppIDE ExtensionAI AgentsOverseerVoice ModeCortex ProtocolHive MindGame Dev (Godat)PricingDownload
Solutions
AI Code AgentsCode ReviewError TrackingSelf-HealingDeploy TrackingAI Tracking SDKWorkflow AutomationTesting FrameworkTime TrackingVoice Control
Platform
ProjectsTickets & BoardsAgent MarketplaceIntegrationsTemplatesApp HubAdmin PanelAnalytics
Integrations
GitHubSlackDiscordVercelSentryRailwayLinearAll Integrations
Developers
DocumentationAPI ReferenceSDKCLIDeveloper PortalMarketplaceMCP ConnectorsWebhooksExamplesnpm Packages
Resources
BlogChangelogCommunityTutorialsGet StartedSupportStatusFeedback
Company
AboutCareersContact SalesKickstarterReferral Program
Legal
Terms of UsePrivacy PolicyEULATrademarkSecurity
Download on the App StoreGet it on Google Play

Codmir™ 2026. All rights reserved.

Free & open source SDK — Apache 2.0 License