chat
chat

Get Messages Since

Return messages between two users that arrived AFTER since.

Used by the frontend after a WebSocket reconnect to backfill messages that may have arrived while the socket was offline. Without this, a user who briefly loses connection sees no messages until they reload — inbox and open thread both appear frozen.

The caller passes the timestamp of the newest message it already has locally. The server returns everything strictly newer, ordered ASC so the client can append directly.

get/chat/messages-since/{user_id}/{other_user_id}

Request

  • Base URL
    https://api.fluentea.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.fluentea.com/chat/messages-since/{user_id}/{other_user_id}
  • Auth
    none declared

Path parameters

user_idstring required
other_user_idstring required

Query parameters

sincestring required

ISO 8601 timestamp; returns messages with timestamp > this

limitinteger

Safety cap on number of messages returned

Headers

authorizationstring nullable

Response

Successful Response

unknown required

Changes

No operation changes recorded.