GuideLab Docs

List team chat messages

Lab only, members only. Newest first; `nextCursor` is the lowest sequence on the page, and `cursor` returns the messages before it.

GET
/team-chat/threads/{threadId}/messages

Lab only, members only. Newest first; nextCursor is the lowest sequence on the page, and cursor returns the messages before it.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

threadId*string
Length1 <= length <= 200

Query Parameters

cursor?integer
Range0 < value <= 2147483647
limit?integer
Range1 <= value <= 100

Response Body

application/json

curl -X GET "https://example.com/team-chat/threads/string/messages"
{  "data": [    {      "id": "string",      "threadId": "string",      "sequence": 0,      "senderUserId": "string",      "body": "string",      "attachments": [        {          "id": "string",          "name": "string",          "mimeType": "string",          "size": 0        }      ],      "createdAt": "string"    }  ],  "nextCursor": "string"}
Empty
Empty
Empty