     validateVars
     client = addClientDomain(msg.match[1])
 
-    robot.http(config.sensu_api + '/clients/' + client)
+    robot.http(config.sensu_api + '/clients/' + client).header("Authorization", config.sensu_auth_basic)
       .get() (err, res, body) ->
         if err
           msg.send "Sensu says: #{err}"

    validateVars
    client= addClientDomain(msg.match[1])

    robot.http(config.sensu_api + '/clients/' + client)
      .delete() (err, res, body) ->
        if err
          msg.send "Sensu says: #{err}"

    validateVars
    client = addClientDomain(msg.match[1])

    robot.http(config.sensu_api + '/clients/' + client + '/history').header("Authorization", config.sensu_auth_basic)
      .get() (err, res, body) ->
        if err
          msg.send "Sensu says: #{err}"
