post https://api.taplytics.com/v2/push
The default endpoint to send a single push notification.
Parameters
- N/A
Response
200
Send a New Push Notification
URL
<https://api.taplytics.com/v2/push{?api_token}>
Headers
application/json; charset=utf-8
Request Body
{
"name": "TestApiPush",
"filters": [{
"type": "an_version",
"comparator": ">=",
"values": ["5.0.0"]
},
{
"type": "ios_version",
"comparator": "!=",
"values": ["8.0.1"]
},
{
"type": "custom_data",
"comparator": ">=",
"values": [16],
"dataKey": "dollars spent"
}],
"notification": {
"alert": "Congratulations, you've won a new VCR!"
},
"production": false
}