Added a Api Endpoint Handler.