GuideLab Docs

Send a team chat message

Lab only, members only. The message id is `clientMessageId`: a retry returns the stored message with 200 and repeats no side effect. Attachments must be the caller's finalized, unsent uploads to this thread. Members are notified live; members who were caught up also get a content-free push.

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

Lab only, members only. The message id is clientMessageId: a retry returns the stored message with 200 and repeats no side effect. Attachments must be the caller's finalized, unsent uploads to this thread. Members are notified live; members who were caught up also get a content-free push.

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/team-chat/threads/string/messages" \  -H "Content-Type: application/json" \  -d '{    "clientMessageId": "6751c24a-b4eb-49b8-a2cb-e2427e57e61b"  }'
{  "message": {    "id": "string",    "threadId": "string",    "sequence": 0,    "senderUserId": "string",    "body": "string",    "attachments": [      {        "id": "string",        "name": "string",        "mimeType": "string",        "size": 0      }    ],    "createdAt": "string"  }}
{  "message": {    "id": "string",    "threadId": "string",    "sequence": 0,    "senderUserId": "string",    "body": "string",    "attachments": [      {        "id": "string",        "name": "string",        "mimeType": "string",        "size": 0      }    ],    "createdAt": "string"  }}
Empty
Empty
Empty
Empty