Chats API
API is ideal for building collaborative or real-time messaging platforms with rich interaction capabilities.
The Chats API is currently in a closed beta phase and not publicly available.
Access is limited to selected partners for testing and feedback purposes.
The Chats API offers a comprehensive set of endpoints designed to manage conversations and user interactions within a chat environment.
It supports key features:
Chat Management: Create, retrieve, and manage chat messages.
Reaction Management: Add, view, and track emoji or custom reactions on messages.
Pinning Management: Pin important messages.
For real time events, look at Real Time Events
Chat Management
Fetches a list of chat messages in a paginated format. Supports sorting by creation time, pinned status, or specific reaction types.
Bearer schema token issued by session credentials
The number of items to skip before starting to return results. Useful for paginating through results.
0Example: 10The number of items to return. Used for paginating results. Limits the size of the result set.
20Example: 20The field by which to sort the results. Supported values include 'CreatedAt', 'Pinned', and reaction types like ':thumbsup:' or ':thumbsdown:'.
CreatedAtExample: PinnedPossible values: Determines whether the sorting should be in ascending order. Set to 'false' for descending order.
trueExample: falseSuccess
GET /v1/chats HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"totalCount": 1,
"messages": [
{
"chatId": "text",
"message": "text",
"createdAt": "2025-12-06T17:24:53.273Z",
"user": {
"id": "text",
"name": "text"
},
"pinned": {
"id": "text"
},
"reactions": [
{
"name": "text",
"count": 1,
"users": [
{
"id": "text"
}
]
}
]
}
]
}Creates and stores a new chat message within a session. This is typically used when a user sends a message in a conversation.
Bearer schema token issued by session credentials
Success
POST /v1/chats HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"message": "text"
}Success
{
"chatId": "text",
"message": "text",
"createdAt": "2025-12-06T17:24:53.273Z"
}Deletes a chat message by its unique identifier.
Bearer schema token issued by session credentials
Success
No content
Unauthorized
Not Found
DELETE /v1/chats/{chatId} HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Adds a reaction (e.g., emoji in shortcodes format) to a specific chat message identified by its chatId.
Bearer schema token issued by session credentials
Success
Not Found
Conflict
POST /v1/chats/{chatId}/reactions HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"reaction": "text"
}{
"reactionId": "text"
}Reactions Management
Retrieves a list of reactions associated with multiple chat messages using their chat IDs.
Bearer schema token issued by session credentials
Success
GET /v1/chats/reactions HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
[
{
"chatId": "text",
"id": "text",
"reaction": "text"
}
]Removes a specific reaction from a chat message. Requires both the chatId and reactionId.
Bearer schema token issued by session credentials
Success
No content
DELETE /v1/chats/{chatId}/reactions/{reactionId} HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
No content
Pinning Management
Pins a specific message in a chat.
Bearer schema token issued by session credentials
Success
No content
Not Found
Conflict
POST /v1/chats/{chatId}/pins HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Removes a previously pinned message in a chat, using the chatId and pinId.
Bearer schema token issued by session credentials
Success
No content
DELETE /v1/chats/{chatId}/pins/{pinId} HTTP/1.1
Host: api.quicksync.me
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
No content
Last updated

