Pavlok Developer API

Welcome the Pavlok Developer API Page

This page is very old but it still ranks high in the search engines so we meet again dear Techie guy. Go to our more maintained documentation here:


Below are some FAQ's that may help you:

How do I get an API Key / Bearer token?

You gotta go to our Authentication page here:
https://api.pavlok.com/api/v5/oauth/login

Login,
then enter your email and password and then you'll get a token in the response.
You'll need to add the word ‘Bearer’ to the start of it.

If you want to create an application that acts on behalf of the user you can create an Oauth app here:

https://api.pavlok.com/api/v5/oauth/login


Test out the Pavlok API using Postman:
-Obtain API Credentials:
-Visit the Pavlok API Documentation and log in with your Pavlok account.
-Navigate to the Developer Dashboard to retrieve your API Key.
-Open Postman and create a new Collection named "Pavlok API".
-Within this collection, create a new Request.
-In the request, go to the Authorization tab.
-Select Bearer Token as the type.
-Enter your API Key in the Token field.
-Refer to the Pavlok API Documentation for available endpoints.
-For example, to send a stimulus:
-Set Method to POST.
-Add Headers with `Content-Type: application/json`.
-Add Body (raw JSON):
```json
{
"stimulus": {
"stimulusType": "zap",
"stimulusValue": 50
}
}
```
-Click Send to execute the request.
-Check the response status and body to understand the API's behavior.
-Adjust parameters as needed to test different functionalities.
-Note the endpoints tested, parameters used, and responses received.
-Document findings to assist in future integrations or developments.

 

Cheers,

Deon Don 

Pavlok Research and Development

-------------------------------------------
Hey there! This quick read was whipped up by yours truly, Deon Don, over at Pavlok Research.
 
Got questions or wanna suggest some cool features? 
Shoot me a text at (731) 472-8565. 

Don't sweat it if I don't hit you back right away – I'll definitely circle back to you after I've had a chance to check my messages. 

And yes, I read every single one.

 

Reading next

Leave a comment

All comments are moderated before being published.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.