REST API for listener