     robot.logger.debug pid
 
     # Call the API to get information about this dashboard
-    getDashboardInformation slug, (dashboard) ->
+    callGrafana "dashboards/db/#{slug}", (dashboard) ->
       robot.logger.debug dashboard
 
       # Check dashboard information

      authHeader = {
        'Accept': 'application/json'
      }
    robot.http("#{grafana_host}/api/dashboards/db/#{slug}").headers(authHeader).get() (err, res, body) ->
      if (err)
        robot.logger.error err
        return callback(false)
      dashboard = JSON.parse(body)
      return callback(dashboard)

      else
        return match

  callGrafana = (url, callback) ->
    if grafana_api_key
      authHeader = {
        'Accept': 'application/json',
