GET https://api.actonsoftware.com/api/1/media/{id}/report/views
This endpoint will return a drilldown report of a specified media object.
Customers wanting to access our API via our gateway in the EU can use this link:
GET https://api-eu.actonsoftware.com/api/1/media/{id}/report/views
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
id | Path | False | Required | String | Specify the ID of the media object. |
Response
[ { "known": true, "recipient": "Doe, John", "campaign": "", "action": "clicked", "total_count": 1, "srcid": "l-0002", "cid": "l-0002:0", "tstamp": "Oct 7 2019 6:37 PM GMT-12:00" }, { "known": true, "recipient": "John, Doe", "campaign": "", "action": "clicked", "total_count": 1, "srcid": "s-0001-1910", "cid": "l-0002:0", "tstamp": "Oct 7 2019 6:32 PM GMT-12:00" }, { "known": false, "recipient": "Frontier Communications", "campaign": "", "action": "clicked", "total_count": 1, "srcid": "", "cid": "", "tstamp": "Sep 30 2019 5:44 PM GMT-12:00" } ]
Code Examples
cURL
curl -X GET https://api.actonsoftware.com/api/1/media/u-48aaa2da-1381-4e4d-b942-e6c1b71b73bf/report/views -H "Authorization: Bearer f12345678-9abc-defg-hijk-lmnopqrs"