Skip to content

Instantly share code, notes, and snippets.

@AniPopescu1
AniPopescu1 / validateEmailFromKickbox.js
Created February 21, 2023 18:08 — forked from jackcoldrick90/validateEmailFromKickbox.js
Action uses the Kickbox Single Verification API to validate the enrolled contacts email address and return additional information to help optimize your marketing email efforts. i.e Sendex score.
//Import required libraries
const hubspot = require('@hubspot/api-client');
const request = require('request');
exports.main = (event, callback) => {
//Create a new HubSpot Client
const hubspotClient = new hubspot.Client({
apiKey: process.env.HAPIKEY
});