Chat
Search messages across accessible threads.
Search messages across accessible threads. The request enforces thread membership and content visibility for the authenticated caller.
GET
/
api
/
v1
/
chat
/
search
Search messages across accessible threads.
curl --request GET \
--url https://api.revoengine.com/api/v1/chat/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/chat/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Query Parameters
Full-text term matched against the current participant thread corpus.
Example:
"invoice failure"
Number of search hits to skip before pagination starts.
Required range:
x >= 0Example:
0
Maximum number of search hits to return.
Required range:
1 <= x <= 200Example:
20
Response
200
OK.
⌘I
Search messages across accessible threads.
curl --request GET \
--url https://api.revoengine.com/api/v1/chat/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/chat/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
