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.
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.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
1 <= length <= 200Request 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" }}