I want to send userid and device id to pushwoosh control panel and then send the notification on the behalf of userid in the phonegap application


asked 20 Nov '15, 07:55
sahabeip's gravatar image



To submit a device with a particular userID you can use our Tags feature. Please let me explain in details:

First of all you should create a Tag in Pushwoosh Control Panel, then you should make a /setTags API request to set values for your tags:

{ "request":{ "application":"DEAD0-BEEF0", "hwid": "device hardware id", "tags": { "userID": "user1" }
} }

You can use the following method to set tag values on your device with Phonegap for iOS:


Then you should create a filter in Control Panel and apply it to your messages while sending push (Filters tab) via Control Panel or adding "filter" parameter to your /createMessage request if sending via API.

permanent link
answered 24 Nov '15, 12:15
Vitaly%20Romanychev's gravatar image

Vitaly Roman...

Thanks Vitaly,

After creating { "request":{ "application":"DEAD0-BEEF0", "hwid": "device hardware id", "tags": { "userID": "user1" } } },

Can I send Push Notification on the basis of UserId using Remote API

(25 Nov '15, 13:46) sahabeip sahabeip's gravatar image

Sure thing! You can use either "conditions" or "filter" parameter in your /createMessage API request in order to do that. Please find a detailed description following this link:


(25 Nov '15, 15:12) Vitaly Roman... Vitaly%20Romanychev's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Nov '15, 07:55

question was seen: 1,633 times

last updated: 25 Nov '15, 15:12