Introduction

Installation and authentication

hubdot has an official Node.js module for interacting with the hubdot API. The module will take care of authentication and requests for you.

Installation

Use the package manager npm to install hubdot:

npm install hubdot

Authentication

After requiring the module, you need to specify the guild id and api token of your hub which is used by the module to authenticate requests.

const hubdot = require("hubdot");
const api = new hubdot({
    "guildId": "1234567890",
    "apiToken": "abcDeFgHijKlMnOpQrSUvWxYz"
});

Last updated