tebarDocs
GuideDevelopersAPI ReferenceChangelog
Comments

Mark comments done without replying

POST
/v1/comments/resolve

Unreplied comments become ignored. Comments already done, or not yours, are left as they are.

Requires the write scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (tb_live_...) from the dashboard, or an OAuth access token.

Header Parameters

Tebar-Profile?string

Limits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.

Request Body

application/json
  1. body
comment_ids*array<>
Items1 <= items <= 100

Response Body

How many changed.

application/json
  1. response
resolved*integer
Example Request
curl -X POST 'https://api.tebar.app/v1/comments/resolve' \
  -H 'Content-Type: application/json' \
  -d '{
  "comment_ids": [
    "5d9e07fe-e397-4d4b-958c-3845d276b265"
  ]
}'
Example Response
{
  "resolved": 0
}