Appendix
Shared variables, glossary, pagination shape, and conventions used across the RealtimeX API docs.
Overview
This appendix collects cross-cutting reference material that does not belong to a single endpoint: Postman/collection variables, product glossary, pagination shape, and how Platform admin APIs differ from chat SDK APIs.
Use it when wiring environments, naming things in your integration, or checking whether a call should use a client token or a chat user token.
Collection variables
These reusable variables appear throughout this documentation and the underlying Postman collection. Prefer setting them once per environment instead of hardcoding values in every request.
After Auth → Login Client, scripts typically populate accessToken, refreshToken, and clientId. After User → Login, they populate userAccessToken.
Glossary
Pagination convention
Modern list endpoints return items under data.list plus a data.pagination object. Query parameters such as page and limit are documented per endpoint when supported; some moderation/settings lists use server defaults with no required query string.
{ "list": [], "pagination": { "currentPage": 1, "totalCount": 42, "hasNextPage": true, "hasPreviousPage": false, "pageSize": 10 }}currentPageis 1-based.- Use
hasNextPage/hasPreviousPageto drive pager UI without recomputing totals locally. pageSizereflects the page that was returned (may differ from your requested limit if capped).
IDs & timestamps
- Resource ids are MongoDB ObjectIds (24 hex characters) exposed as
_idstrings. - Timestamps are ISO-8601 UTC strings (
createdAt,updatedAt,mutedUntil, etc.). - Treat mute as active only while
mutedUntilis in the future. - Nullables such as
resolutionNoteorgroupImagemay benullwhen unset - do not assume empty string.
Platform vs chat SDK
Mixing tokens is a common cause of 401/403. If a Platform call fails auth, confirm you are not accidentally sending the chat user token.