{"id":409,"date":"2019-12-04T16:12:10","date_gmt":"2019-12-04T21:12:10","guid":{"rendered":"https:\/\/increasec.com\/?p=409"},"modified":"2021-02-28T23:52:42","modified_gmt":"2021-03-01T04:52:42","slug":"pushover-documentation","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=409","title":{"rendered":"Pushover Documentation"},"content":{"rendered":"\n<p>Pushover is a messaging system that is easy for programmers and manufacturers to implement but not so easy to setup and manage, mostly due to the lack of documentation.<\/p>\n\n\n\n<p>Pushover does not require an executeable to send messages, set a few variables and an HTTP post will successfully send a message.  I use the powershell example below to send test messages.<\/p>\n\n\n\n<p>$parameters = New-Object System.Collections.Specialized.NameValueCollection<br> $parameters.Add(&#8220;token&#8221;, &#8220;qqqqqqqqqqqqqqqqqqqqqqqqqqqq33r&#8221;)<br> $parameters.Add(&#8220;user&#8221;, &#8220;qqqqqqqqqqqqqqqqqqqqqqqqqqqdme&#8221;)<br> $parameters.Add(&#8220;message&#8221;, &#8220;Test from server 10.118.1.54 to My Phone&#8221;)<br> $client = New-Object System.Net.WebClient<br> $client.UploadValues(&#8220;https:\/\/api.pushover.net\/1\/messages.json&#8221;, $parameters)<\/p>\n\n\n\n<p>The <strong>token <\/strong>value above is the Application that the message comes From.  Users can subscribe to this Application to receive alerts.  When a user subscribes they get a virtual token that does not match their assigned user token.  I believe this exists to keep their user token private.<\/p>\n\n\n\n<p>The <strong>user <\/strong>value is associated with a user OR a group.  If you pay for Pushover Teams you can manually add user tokens to a group and a memo field lets you keep track of what token belongs to whom.<\/p>\n\n\n\n<p>Any user can create an application in the Pushover web interface, its just a random number that messages can come from and users can subscribe to.<\/p>\n\n\n\n<p>Some info can be gleaned from reading their API docs here.  https:\/\/pushover.net\/api\/client#register<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pushover is a messaging system that is easy for programmers and manufacturers to implement but not so easy to setup and manage, mostly due to the lack of documentation. Pushover&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[71,70,69,3],"class_list":["post-409","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-alerts","tag-messaging","tag-pushover","tag-smb"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=409"}],"version-history":[{"count":5,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/409\/revisions"}],"predecessor-version":[{"id":415,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/409\/revisions\/415"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}