This API is used to send push notification programmatically over the web using our predefined schema.
Example:
curl -X POST -H "Content-Type: application/json" --data ' { "applicationid":"6a26612e52ae4561b99358049bdc93b1", "tqtarget": { "tag":"winter", "device_token":"xcv", "segment":"3" }, "tqnotification": { "message":"Curl Push Test", "extra":{ "articleid":"3" }, "badge":"+1" }, "tqcid":"24", "tqscheduletime":"2014-01-07 08:34:00" }' https://webportal.tapcliq.com/tapcliqweb/pushapi/directpush
Details of Push JSON Data:
{ "applicationid":"Id of your application to which you wish to send this push notification", "tqtarget": { "tag":"comma separated tag values for target audience", "device_token":"comma separated device tokens", "segment":"Identifier of the segment created on tapcliq" }, "tqnotification": { "message":"Your push message", "extra":{ "any_extra_key":"extra_key_value" }, "badge":"badge number" }, "tqcid":"Identifier of the campaign you wish to display once user opens the app in response to this push", "tqscheduletime":"time to send this push message" }
NOTE: