Get workspace analytics
Returns the analytics report of the workspace for a date range, compared with the previous range of the same length: summary, followers, posts per bucket, top posts, per-channel performance and collection coverage. Days are calendar days in the API key user's time zone (Settings → Preferences) and weekly buckets start on that user's start of week. With custom (or start/end without range), the dates are clamped to the days with data in scope (bounds; for a channel, that channel's). When there is no data yet, the dates are ignored and the last 30 days are returned. A missing end defaults to the last day with data, and a missing start to 29 days before end. Read range (or filters.start/filters.end) in the response for the days actually used. The report reads analytics TryPost has already collected from the networks, not live data. LinkedIn, LinkedIn pages, Telegram, Discord and Google Business are not included.
Request
- Base URL: https://app.trypost.it/api
- URL: https://app.trypost.it/api/analytics
- Auth: HTTP bearer
Query parameters
7d (last 7 days), 30d (last 30 days, the default), mtd (month to date) or custom. Days are calendar days in the API key user's time zone, today included.
First day, Y-m-d. Required with range=custom and ignored for the other presets. Sending start and end without range means custom.
Last day, Y-m-d, on or after start. Required with range=custom.
Only these social accounts. Unknown ids and accounts without analytics are ignored without an error; when none of the ids is usable, the report covers every channel.
Response
The report.
Changes
No recorded changes to this operation across all 1 revision of this API.