Blog

Pavlok Developer API

 

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.

OAuth

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

Leave a Reply

Your email address will not be published. Required fields are marked *