var h = new internals.Hooks({apiKey:'API_KEY'}); //id of hook, title, message, link h.send(123,'TEST','TEST','google.com');