{"action":"opened","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/1317","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/1317/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/1317/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/1317/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/1317","id":114644418,"number":1317,"title":"Hubot services endpoint","user":{"login":"zubivan","id":6346442,"avatar_url":"https://avatars.githubusercontent.com/u/6346442?v=3","gravatar_id":"","url":"https://api.github.com/users/zubivan","html_url":"https://github.com/zubivan","followers_url":"https://api.github.com/users/zubivan/followers","following_url":"https://api.github.com/users/zubivan/following{/other_user}","gists_url":"https://api.github.com/users/zubivan/gists{/gist_id}","starred_url":"https://api.github.com/users/zubivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubivan/subscriptions","organizations_url":"https://api.github.com/users/zubivan/orgs","repos_url":"https://api.github.com/users/zubivan/repos","events_url":"https://api.github.com/users/zubivan/events{/privacy}","received_events_url":"https://api.github.com/users/zubivan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T17:32:44Z","updated_at":"2015-11-02T17:32:44Z","closed_at":null,"body":"Hi All,\r\n\r\nI'm trying to create a custom bot for TFS build notifications as they are supporting webhooks out of the box now. So, I've created a custom bot with the following signuture:\r\n\r\n```\r\nmodule.exports = (robot) ->\r\n   robot.router.post '/hubot/tfs/:room', (req, res) ->\r\n     room   = req.params.room\r\n     data   = if req.body.payload? then JSON.parse req.body.payload else req.body\r\n  \r\n     robot.messageRoom room, \"Incoming: #{data}\"\r\n  \r\n     res.send 'OK'\r\n\r\n```\r\n\r\nWhat is a default url where hubot service is exposed for rocket.chat? Is it the same as root chat url or I should use a default hubot port 8080? Is there any way to configure it?\r\n\r\nRegards,\r\nIvan"}}