Skip to Content
GrowSocmedDocsSocial media command center

Refresh statistics

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)

POST
/insights/sync

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)

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Query Parameters

days?integer
Range1 <= value <= 365

Request Body

application/json
  1. body
account_id?string
Formatuuid

Response Body

OK

application/json
  1. response
queued*number
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/insights/sync' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "queued": 0}