Repository navigation
Release v1.6.0: Image Endpoint and Enhanced Webhook Payload
What's New in v1.6.0
🖼️ Image Endpoint
- New GET /images/{filename} endpoint to serve downloaded images
- Secure file serving with path traversal protection
- Automatic content type detection (JPEG, PNG, GIF, WebP)
- Optimized caching headers for better performance
📡 Enhanced Webhook Payload
- Image URLs now included in webhook attachment payloads
- Comprehensive attachment metadata for all message types
🔒 Security Improvements
- Path traversal protection for image endpoint
- Input validation for filename parameters
📝 API Documentation Updates
- Updated Swagger documentation with new image endpoint
- Enhanced server startup logs with all available endpoints
Usage Example
When an image is received, the webhook payload now includes an accessible URL field.
Access images via: http://localhost:8080/images/{messageID}.jpg
Upgrade Instructions
- Stop your current WhatsApp Web API service
- Replace the binary with the new version
- Restart the service
- No configuration changes required - fully backward compatible