Skip to main content
GET
analytics
/
workspaces
/
{workspace}
curl -X GET "https://postsyncer.com/api/v1/analytics/workspaces/12" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "workspace_id": 12,
  "total": {
    "comments": 24,
    "likes": 180,
    "shares": 14,
    "impressions": 6500,
    "quotes": 3,
    "saves": 28,
    "engagement_rate": 4.1
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt

Use this file to discover all available pages before exploring further.

By workspace

Returns total for every platform post row whose parent post belongs to the given workspace.

Request

workspace
integer
required
Workspace id (same as in list workspaces).
curl -X GET "https://postsyncer.com/api/v1/analytics/workspaces/12" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Response

workspace_id
integer
Workspace id from the path
total
object
comments, likes, shares, impressions, quotes, saves, engagement_rate — same shape as the all-workspaces total object.
{
  "workspace_id": 12,
  "total": {
    "comments": 24,
    "likes": 180,
    "shares": 14,
    "impressions": 6500,
    "quotes": 3,
    "saves": 28,
    "engagement_rate": 4.1
  }
}
With no published analytics in that workspace, total uses 0 for every count and 0 for engagement_rate.

Permissions

Requires the posts ability. You must have access to the workspace.

Errors

401 · 403 · 404 if the workspace is missing or not accessible See also: Analytics overview.