Search Conversations
Description
Section titled “Description”wss conversation_search
The conversation_search
request returns a list of chats based on the specified parameters.
Request Parameters
Section titled “Request Parameters”Name | Type | Description |
---|---|---|
name | string | Key phrase for search |
limit | number | Max number of objects |
updated_at.gt | timestamp | Time reference point |
Response Fields
Section titled “Response Fields”Name | Type | Description |
---|---|---|
conversations | array[object] | Array of Conversation objects |
Example
Section titled “Example”{ "request": { "conversation_search": { "name": "conversationName", "limit": 100, "updated_at": { "gt": timestamp_in_ms, }, }, "id": "RequestId" }}
{ "response": { "id": "RequestId", "conversations": [ { "_id": "507f1f77bcf86cd799439011", "name": "conversationNameTest", ... }, { "_id": "507f1f77bcf86cd799439012", "name": "conversationNamePress", ... }, ... ] }}
See Also
Section titled “See Also” SAMA chat server API: Conversations When we developed our API, we followed three rules: fast, confidential, and scalable. Each of these rules has a powerful force when we choose which messenger you will use.
DataBase Records Collection of complete objects stored in the database.