A Helpscout API for node.
$ npm install helpscout
Create a new Helpscout instance and query for mailboxes:
var helpscout = require('helpscout')('apikey');
And query mailboxes:
helpscout.mailboxes.list(function (err, mailboxes) {
// ..
});
Or select a mailbox:
var mailbox = require('helpscout')('apikey', 6314);
Then you can query mailbox conversations:
mailbox.conversations.list(function (err, conversations) {
// ..
});
Create a new Helpscout
client to query Mailboxes
.
Returns a list of mailboxes, with options defaulted to:
{
page: 1
}
Create a new Mailbox
client.
Returns a list of conversations, with options defaulted to:
{
page: 1,
status: 'all'
tag: null
}
MIT