🚀 Code-Productive Integration Server
This server processes GitHub webhooks and creates comments on Productive.io tasks.
Production Endpoints
POST
/code-webhook
Main webhook endpoint for processing GitHub commits
curl -X POST http://localhost:\\.\pipe\696f7b60-a84b-48d6-9f40-cb0eb5be2fc4/code-webhook \
-H "Content-Type: application/json" \
-d '{"repository":{"name":"test-repo"},"commits":[{"id":"abc123","message":"Fix bug in ABC1-25"}]}'
GET
/task/:ref
Retrieve task by reference
GET
/health
Health check endpoint
Testing Endpoints
POST
/test-single-commit
Test with a single commit (accepts optional custom message)
curl -X POST http://localhost:\\.\pipe\696f7b60-a84b-48d6-9f40-cb0eb5be2fc4/test-single-commit \
-H "Content-Type: application/json" \
-d '{"message":"Fix bug in ABC1-25 and update docs"}'
POST
/test-multiple-commits
Test with multiple commits including different ticket formats
curl -X POST http://localhost:\\.\pipe\696f7b60-a84b-48d6-9f40-cb0eb5be2fc4/test-multiple-commits
GET
/test-custom/:message
Test with custom commit message (URL encoded)
GET
/test-regex/:message
Test regex extraction only (no processing)
Example Ticket Formats
- ABC1-25 - Project ABC1, Task 25
- XYZ12-456 - Project XYZ12, Task 456
- PROJ123-789 - Project PROJ123, Task 789
Environment Status
- Productive Token: ✅ Set
- Organization ID: ✅ Set
- API URL: https://api.productive.io/api/v2
- Webhook Secret: ✅ Set