In the portal I can find the amount of influenced opens. Is there a way to retrieve those numbers via the api?
Didn't find what you were looking for?
You can retrieve the number of influenced opens via the API. Our Response Report will give you both direct opens and influenced opens of your app within a specified time period.
If you are using cURL commands to make API requests, the command would look something like this:
curl "https://go.urbanairship.com/api/reports/responses/?start=2016-07-19%2000:00&end=2016-07-19%2023:00&precision=HOURLY" \
-u "<App Key>:<App MasterSecret>"
In this example, direct opens and influenced opens are displayed for an app over the course of a single day. Please keep in mind that you will have to enter in your app key and master secret in order for this request to go through. This API request can also be made in Java and Ruby if you would prefer to access influenced opens that way.
I hope this helps. Please let me know if you have any other questions!
Thank you, is it also possible the get it on message level? In the portal I can see the influenced opens per message.
We used to have an API call that would show influenced opens on the individual push notification level, but we no longer have it because too many people were using it and it was causing a huge load on our systems. You will have to continue to use the dashboard to view influenced opens for individual push notifications.
Please sign in to leave a comment.