API 参考Insights
Get the best times to post
Average interactions per weekday and 2-hour block, from the posts of the last 90 days (needs 5 posts)
GET
Average interactions per weekday and 2-hour block, from the posts of the last 90 days (needs 5 posts)
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
id*stringFormat
uuidtz?stringLength
length <= 64Default
"Asia/Jakarta"OK
application/json- response
posts*numbermin_posts*numbertz*stringblocks*array<>curl -X GET 'https://socmed.growpaces.com/api/v1/insights/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/best-times'Example Response200
{ "posts": 0, "min_posts": 0, "tz": "string", "blocks": [ { "weekday": 0, "hour": 0, "posts": 0, "avg_interactions": 0 } ]}List active stories GET
Instagram stories still up (24 hours) with their figures so far, read live from Instagram (figures appear after 5 viewers)
Refresh statistics POST
Read the latest statistics from the platforms (once every 5 minutes); ?days=N also reads again the posts published in the last N days (up to 90)