Prepare a team chat attachment upload
Lab only, members only. The conversation attachment contract: a one-use staging key and an exact-size, content-type-bound presigned PUT (15 minutes). Team chat makes no thumbnails, so the thumbnail fields are null. Call finalize after the upload.
Lab only, members only. The conversation attachment contract: a one-use staging key and an exact-size, content-type-bound presigned PUT (15 minutes). Team chat makes no thumbnails, so the thumbnail fields are null. Call finalize after the upload.
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
curl -X POST "https://example.com/team-chat/threads/string/attachments/presign" \ -H "Content-Type: application/json" \ -d '{ "filename": "string", "mimeType": "string", "size": 1 }'{ "attachmentId": "string", "uploadUrl": "string", "uploadContentType": "string", "thumbnailUploadUrl": "string", "thumbnailUploadContentType": "string", "name": "string", "mimeType": "string", "size": 0, "category": "images"}Mark a team chat thread read POST
Lab only, members only. Moves the caller's read position forward, never back, and never past the last message. Returns it with the caller's unread total across the lab.
Remove a member from a team chat group DELETE
Lab only, group members only. Any member may remove anyone; removing yourself leaves the group, and the response thread is then null.