tebarDocs
GuideDevelopersAPI ReferenceChangelog
Inbox

Mark conversations done

POST
/v1/inbox/conversations/resolve

Ids outside the profiles this credential reaches are left out of the count.

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
conversation_ids*array<>
Items1 <= items <= 100

Response Body

How many were marked done.

application/json
  1. response
resolved*integer
Example Request
curl -X POST 'https://api.tebar.app/v1/inbox/conversations/resolve' \
  -H 'Content-Type: application/json' \
  -d '{
  "conversation_ids": [
    "b68e40f1-a2f7-46b1-9573-c91137e3f6fd"
  ]
}'
Example Response
{
  "resolved": 0
}