Insights
Get the last insight sync
GET
Requires the read scope.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
Tebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
Where the last sync is.
application/json- response
status*stringValue in
"idle""running""done""failed"started_at?stringFormat
date-timefinished_at?stringFormat
date-timeresult?The POST answer, when done.
curl -X GET 'https://api.tebar.app/v1/insights/sync'Example Response
{
"status": "idle",
"started_at": "2019-08-24T14:15:22Z",
"finished_at": "2019-08-24T14:15:22Z",
"result": {
"property1": null,
"property2": null
}
}List posts made outside Tebar GET
For a calendar: posts made outside Tebar in [from, to) (ISO 8601, at most 45 days), oldest first, at most 500. Posts made through Tebar are in GET /v1/posts?from&to. Requires the read scope.
Read the latest numbers from the platforms POST
At most once every 5 minutes per user. The worker also syncs every 6 hours. Requires the read scope.