AgentConnect
Sessions

Mark sessions read

Records that the caller has these sessions open now: each one’s activity up to this moment is read for them, on every device, and later activity on a webchat session lists it with unread: true. Send the member sessions of the conversation on screen, again whenever it shows new activity and once more on leaving it. The mark never moves back, and ids the caller cannot view are skipped. Stores ids and a timestamp only.

PUT
/v1/orgs/{orgId}/sessions/read-state

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PUT "https://example.com/v1/orgs/string/sessions/read-state" \  -H "Content-Type: application/json" \  -d '{    "sessionIds": [      "string"    ]  }'
Empty