The default endpoint to send a single push notification, or a batch of notifications.

Parameters

  • page (optional, integer, 1) ... The page number used for pagination
  • per_page (optional, integer, 100) ... An optional parameter to define the number of results you would like returned

Response

200 - List of Push Objects

List all Push Notifications

URL

https://api.taplytics.com/v2/push{?api_token}

Headers

application/json; charset=utf-8

Response Body

[{
    "id": "548013f2c703f020242ff21c",
    "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
}]
Language