Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

klaviyo-client

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

klaviyo-client

Klaviyo API client for Node.js and browser

  • 2.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
39
increased by25.81%
Maintainers
1
Weekly downloads
 
Created
Source

Klaviyo API client for Node.js and browser

This is a Klaviyo API client for Node.js and browser written in Typescript.

Installation

npm i klaviyo-client

or

yarn add klaviyo-client

Usage

The package contains two separate classes:

  • KlaviyoClient to identify profiles and track events. Klaviyo Token is needed to use it
  • KlaviyoApi to work with Klaviyo API. Klaviyo Token and API key are needed to use it. Currently it supports following operations:
    • Lists - get profiles from list and segments
    • Lists - create list
    • Lists - get all lists
    • Lists - get list details
    • Lists - update list
    • Lists - delete list
    • Profiles - get complete profile data
    • Profiles - create or update profile data
    • Profiles - get a list of profile events
    • Profiles - get a list of profile events by metric ID

The package supports providing generic event or profile properties types in order to work in well-known types manner.

Configuration

You can get API key and token in your Klaviyo account here.

Token is also known as Site ID or public API key.

Please read Klaviyo API documentation.

Need Help or Feature?

Drop me an email to Mikhail Monchak

Keywords

FAQs

Package last updated on 09 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc