Analytics
Analytics overview
GET
apiKeyheader
AuthorizationBearer <token>An API key from the web app, under Developers. It starts with rz_live_.
days?integerRange
7 <= value <= 365Default
30profileId?stringfields?Only posts whose custom fields have these values, for example fields[campaign]=Winter menu. A multi_select field matches when it has the value.
OK
application/json- response
from*stringFormat
date-timeto*stringFormat
date-timekpis*array<>series*array<>byNetwork*array<>topPosts*array<>curl -X GET 'https://api.rizamo.com/v1/analytics/overview'Example Response200
{ "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z", "kpis": [ { "key": "string", "label": "string", "value": 0, "previous": 0, "format": "number" } ], "series": [ { "date": "2019-08-24", "impressions": 0, "engagements": 0, "followers": 0 } ], "byNetwork": [ { "network": "instagram", "impressions": 0, "engagements": 0, "followers": 0, "posts": 0 } ], "topPosts": [ { "postId": "string", "text": "string", "network": "instagram", "mediaUrl": "string", "impressions": 0, "engagementRate": 0, "publishedAt": "2019-08-24T14:15:22Z" } ]}