GET https://restapi.actonsoftware.com/api/1/media/{ID}/report/messages
This endpoint will return a report on how a media object performed in emails.
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. |
Parameter Notes
id
The media object must be added to a message using the "Media File Download" block to return a result.
Response
[ { "msgid": "s-0006-1910", "subject": "Media Block", "total_count": 2, "unique_count": 1, "timestamp": "Oct 15 2019 11:00 AM GMT-12:00" } ]
Code Examples
cURL
curl -X GET https://restapi.actonsoftware.com/api/1/media/f-964821e3-8cb4-4b78-aae5-fecfbba1353f/report/messages -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"