pybe Posted October 15, 2018 Share Posted October 15, 2018 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. Link to comment Share on other sites More sharing options...
pybe Posted October 15, 2018 Author Share Posted October 15, 2018 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... Link to comment Share on other sites More sharing options...
Staff Chris Posted October 18, 2018 Staff Share Posted October 18, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now