Jump to content
Pulseway 9.14 🔥

Can you use the REST api to pull notifications into another service?

Featured Replies

Posted

Hi I am looking for a way to pull and display live notifications into another application. Specifically, we have an internal dashboard using node-red and would like to add some info from Pulseway on to it.

 

  • Author

If I am correct I should be able to:

curl  https://api.pulseway.com/v2/notifications -u myuser:myapitoken

and I should get json output for current notifications

I just get invalid username and or password.

{"data":null,"meta":{"response_code":401,"error_message":"Invalid username and/or password (199)."}}

I quite expect I'm missing something obvious, but don't know what...

  • Staff

Hi @pybe,

Please tel us which Pulseway subscription are you using? 

Free plan: https://api.pulseway.com/v2/systems/:id/notifications

curl https://https://api.pulseway.com/v2/systems/11111111-2222-3333-4444-555555555555/notifications -u username:password 

Team plan: https://your-server-name/api/v2

curl https://https://your-server-name/api/v2/systems/11111111-2222-3333-4444-555555555555/notifications -u username:password 

the ID is the ID for the system.

Please let me know if you have any further questions regarding this.

Create an account or sign in to comment