mulaichatDocs
GuidesDeveloperAPI ReferenceChangelog
Comments
GET
/v1/comments/counts

How many comments are unreplied (status=open), in total and per account, without listing them.

Requires the read scope.

Authorization

bearer
headerAuthorizationBearer <token>

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

Header Parameters

mulaichat-workspace?string

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

Response Body

The counts.

application/json
  1. response
total*integer

Each item once.

by_account*array<>

Accounts with at least one; an item on several accounts counts under each.

Example Request
curl -X GET 'https://api.mulaichat.com/v1/comments/counts'
Example Response
{  "total": 0,  "by_account": [    {      "account_id": "string",      "count": 0    }  ]}

On this page