Implement /api/subscribe