FluxyChat

Messages

List messages

Paginated message history for a room.

GET
/api/messages

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

roomId*string
limit?integer
Default50
before?integer
after?integer

Response Body

application/json

curl -X GET "https://example.com/api/messages?roomId=string"
{  "messages": [    {      "id": 0,      "roomId": "string",      "content": "string",      "userId": "string",      "createdAt": "2019-08-24T14:15:22Z"    }  ]}