mirror of
https://git.wetfence.xyz/RandyTheSilly/Trigalarm.git
synced 2026-08-27 22:26:25 -04:00
14 lines
1.4 KiB
Markdown
14 lines
1.4 KiB
Markdown
# Pavlok Integration Steps
|
|
1. Head [here](https://pavlok.readme.io/reference/stimulus_create_api_v5_stimulus_send_post) and log in w/your Pavlok account.
|
|
- If on mobile, the `Log In` button is hidden behind the hamburger menu on the top left.
|
|
- If on desktop, the button will be visible on the top right.
|
|
- For some reason, my Pavlok password will not log me into this page, so I have to use the password-less login option. YMMV.
|
|
2. Find the `CREDENTIALS` section and click the lock icon in the `Header` bar. You need to copy all the text AFTER `Bearer`.
|
|
- This is your JWT token/API key and should begin with `ey`.
|
|
- This can be difficult to copy on mobile browsers - the string is very long and in a short text box. Be sure to get it all!
|
|
- If you're having trouble copying it from here, you can make a test API request by filling out `Body Params` and pressing `Try It!`. When you get a response, expand the `Headers` and your token will be visible as the `REQUEST` `Authorization` header.
|
|
3. Open Trigalarm's phone-side settings, enable Pavlok integration, and paste the copied key into the `API Key` box.
|
|
4. Make sure the Pavlok app is open in the background & press the `TEST API KEY W/BEEP` button to verify it is working.
|
|
- If all is well, your Pavlok should audibly beep. You're good to go!
|
|
- Feel free to reach out (via the "contact developer" feature in the Pebble store) if you need assistance!
|