Only days left: Get free shipping on Pavlok with discount code FREE2SHIP.


The Pavlok API is designed as a way to connect Pavlok to the IoT world, as well as create new opportunities for application-based integrations and triggers.

Easy to get setup

You can trigger Pavlok with as little as four lines of code (this example is using Node):


Here are the resources to get you started:

Pavlok API documentation

Pavlok Node module git repository

Pavlok OAuth documentation

Node Module

Writing a script using this module is a pretty straight forward process. Keep in mind the requirements and limitations documents under the ‘Purpose’ heading, but if you’re looking to do some simple scripting, you should be in for a pretty easy ride.


More secure than the Node module, but will take a little bit longer to get up and running. You can use OAuth to interact with the Pavlok API on behalf of an user within your application:

  • Register on Pavlok
  • Register your application
  • Authorize your application
  • Get the token



PAVLOK is a product of Behavioral Technology Group, Inc. At BTG, we help people change their habits. To do so, we create apps, wearables, technology, and more – all designed to help our users get control of their behavior.