ACR referenceAccount product actions

getAccountUnreadMessageCount

ACR Dashboard
POST
/v1/account/actions/getAccountUnreadMessageCount

Read actual selected Personal subject unread count. Account Personal only; explicit Team selection is rejected without fallback. Canonical surface, current membership/restriction and entity/participant ownership checks remain authoritative.

Authorization

bearerAuth
AuthorizationBearer <token>

Organization-scoped bearer credential. Credentials are scoped, revocable, and never represented by a Soul or operation ID.

In: header

Header Parameters

Idempotency-Key*string

Canonical action UUID; mutation retries reuse this key. Reads also require a UUID at the machine transport boundary.

Formatuuid
X-Kallfi-Workspace-ID?string

Untrusted explicit workspace UUID. Omitted selects Personal. Workspace commands require current membership, role, surface and grant; explicit denied selection never falls back. Account-owned commands reject a nonpersonal selected workspace. One Account surface key spans currently authorized workspaces; selecting a workspace never issues another key.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://acr.kallfi.red/v1/account/actions/getAccountUnreadMessageCount" \  -H "Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "total_unread": 0}