Read a chat's last reported presence
GET/api/sessions/:sessionId/presence/:chatId
Serves the most recent report received since the chat was subscribed. Returns null when nothing has been reported — either the chat was never subscribed, or nothing has changed since. That is a normal state, not a missing resource, so it is 200 with a null body rather than a 404.
Held in memory and never persisted: presence is short-lived, and answering "typing" from before a restart would be worse than answering nothing.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Last reported presence, or null
The session id has characters other than letters, digits and hyphens, or is longer than 128 characters
The API key is missing, unknown, revoked, or expired
The API key's role, session or chat scope, or IP allow-list does not allow this operation
Session not found