# Pass user Id to node-red-node-pushover with msg property is possible?

**URL:** <https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233>\
**Category:** General\
**Created:** [19 September 2021 10:18 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233 "2021-09-19T10:18:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![essereumano](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/essereumano/32/48262_2.png) [@essereumano](https://discourse.nodered.org/u/essereumano)\
**Post date:** [19 September 2021 10:18 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233/1 "2021-09-19T10:18:54Z")

</div>

Good day everyone, I would need to send push notifications via Pushover, unfortunately the node-red-node-pushover node does not seem to allow you to send the user id via msg dynamically as for the other parameters but only to set it in the property.  
Is it really so? If so and then I could not use the node for my purpose, how can I create a flow to make the pushover API call correctly, should I use an http request?  
Thanks in advance for the valuable answers.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 September 2021 10:34 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233/2 "2021-09-19T10:34:41Z")

</div>

You should be able to use the pushover api with the http request block  
[https://pushover.net/api#messages](https://pushover.net/api#messages)

---

<div class="post-metadata">

**Author:** ![essereumano](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/essereumano/32/48262_2.png) [@essereumano](https://discourse.nodered.org/u/essereumano)\
**Post date:** [19 September 2021 10:42 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233/3 "2021-09-19T10:42:31Z")

</div>

You are true, I had already read the documentation, but what I did not understand, (for my ignorance) is how to pass the json file prepared via http put request. PS thanks for your reply.

PPS: I'm reading the documentation and maybe I didn't understand how to set the request, where should I enter the various parameters?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 September 2021 10:55 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233/4 "2021-09-19T10:55:41Z")

</div>

example

```auto
[{"id":"aa52642e.36932","type":"inject","z":"190c8195.72b3be","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"token\":\"azGDORePK8gMaC0QOYAMyEEuzJnyUi\",\"user\":\"uQiRzpo4DXghDmr9QzzfQu27cmVRsG\",\"device\":\"droid4\",\"title\":\"Backup finished - SQL1\",\"message\":\"Backup of database \\\"example\\\" finished in 16 minutes.\"}","payloadType":"json","x":200,"y":1060,"wires":[["41c2f8e4.f2e028"]]},{"id":"41c2f8e4.f2e028","type":"http request","z":"190c8195.72b3be","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"https://api.pushover.net/1/messages.json","tls":"","persist":false,"proxy":"","authType":"","x":430,"y":1040,"wires":[["810c61c9.ea902"]]},{"id":"810c61c9.ea902","type":"debug","z":"190c8195.72b3be","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":640,"y":1040,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![essereumano](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/essereumano/32/48262_2.png) [@essereumano](https://discourse.nodered.org/u/essereumano)\
**Post date:** [19 September 2021 12:22 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233/5 "2021-09-19T12:22:30Z")

</div>

Thanks a lot, of course it was simpler than I imagined, I hope this can help other novice users like me.  
Thanks again for your invaluable help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 October 2021 12:23 UTC](https://discourse.nodered.org/t/pass-user-id-to-node-red-node-pushover-with-msg-property-is-possible/51233/6 "2021-10-03T12:23:26Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
