List the social channels overview report
GET
/cms/analytics/social
const url = 'https://api.example.com/cms/analytics/social?unit=day';const options = {method: 'GET', headers: {'API-Key': '<API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.example.com/cms/analytics/social?unit=day' \ --header 'API-Key: <API-Key>'Returns the list of accessible social channels plus a visits trend, scoped to the current admin’s allowed channels.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”date_from
string format: date
Defaults to 8 days ago.
date_to
string format: date
Defaults to today.
channel
Array<integer>
type
Array<string>
unit
string
Responses
Section titled “Responses”Accessible channels and social visits trend
Invalid date range
Admin authorization required
Insufficient permissions