Comments
Get the last comment 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/comments/sync'Example Response
{
"status": "idle",
"started_at": "2019-08-24T14:15:22Z",
"finished_at": "2019-08-24T14:15:22Z",
"result": {
"property1": null,
"property2": null
}
}Mark comments done without replying POST
Unreplied comments become ignored. Comments already done, or not yours, are left as they are. Requires the write scope.
Read the latest comments from the platforms POST
For the accounts in the profile. At most once a minute per user. Webhooks normally keep comments current. Requires the read scope.