Get Media Report

GET https://restapi.actonsoftware.com/api/1/media/{id}/report/

This endpoint will return a report of a specified media object.

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

{
  "total_known_views": 1,
  "total_unknown_views": 1,
  "unique_known_views": 1,
  "unique_unknown_views": 1,
  "total_messages": 0,
  "total_from_messages": 0,
  "unique_from_messages": 0
}

Code Examples

curl -X GET https://restapi.actonsoftware.com/api/1/media/u-48aaa2da-1381-4e4d-b942-e6c1b71b73bf/report -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"