Chat
Real-time team chat — threads, messages, and read receipts
Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Query Parameters
curl -X GET "https://example.com/api/v1/chat/mention-search?teamId=string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Query Parameters
curl -X GET "https://example.com/api/v1/chat/mention-context?teamId=string&kind=string&id=string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Query Parameters
curl -X GET "https://example.com/api/v1/chat/threads?teamId=string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/api/v1/chat/threads" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "teamIds": [ 0 ], "type": "team" }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
Query Parameters
curl -X GET "https://example.com/api/v1/chat/threads/string/messages"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/api/v1/chat/threads/string/messages" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
curl -X GET "https://example.com/api/v1/chat/threads/string/read-receipts"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
curl -X PATCH "https://example.com/api/v1/chat/threads/string/messages/string" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
curl -X DELETE "https://example.com/api/v1/chat/threads/string/messages/string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
curl -X GET "https://example.com/api/v1/chat/threads/string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
curl -X PATCH "https://example.com/api/v1/chat/threads/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
curl -X DELETE "https://example.com/api/v1/chat/threads/string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
curl -X POST "https://example.com/api/v1/chat/threads/string/leave"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/api/v1/chat/threads/string/members" \ -H "Content-Type: application/json" \ -d '{ "memberIds": [ "string" ] }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
curl -X DELETE "https://example.com/api/v1/chat/threads/string/members/string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/api/v1/chat/threads/string/read" \ -H "Content-Type: application/json" \ -d '{ "lastReadMessageId": "string" }'