Smartquery Insights
Work In Progress
This guide will help you fetch metrics and dimensions used to compile Smartsight Smartquery Insights dashboard.
Show Content Path GET 
Returns the content journey of the users.
curl 'https://smartsight3.mediamelon.com/mm-apis/smartQuery/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&queryname=contentpath'
-x GET --header 'Authorization: Bearer <access_token>'Required request path parameters
customer-id string
A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.
Required request query parameters
planlevelstring
A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>
period string
A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this Epoch Time converter
querynamestring
Combination of query parameters queryname=contentpath in string format. This request needs comma-separated metrics to retrieve the rquested data. 
 Response
Show Subscriber Insight GET 
Returns subscriber details
curl 'https://smartsight3.mediamelon.com/mm-apis/smartQuery/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&queryname=subscriberdetails'
-x GET --header 'Authorization: Bearer <access_token>'Required request path parameters
customer-id string
A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.
Required request query parameters
planlevelstring
A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>
period string
A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this Epoch Time converter
querynamestring
Combination of query parameters queryname=subscriberdetails in string format. This request needs comma-separated metrics to retrieve the rquested data. 
Response
Last updated
