Chat
List chat threads.
List chat threads. The request enforces thread membership and content visibility for the authenticated caller.
GET
/
api
/
v1
/
chat
/
threads
List chat threads.
curl --request GET \
--url https://api.revoengine.com/api/v1/chat/threads \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/threads', 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/threads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Query Parameters
Number of threads to skip before pagination starts.
Required range:
x >= 0Example:
0
Maximum number of threads to return.
Required range:
1 <= x <= 200Example:
25
Include threads archived by the current participant.
Example:
false
Include threads deleted by the current participant.
Example:
false
Response
200
OK.
⌘I
List chat threads.
curl --request GET \
--url https://api.revoengine.com/api/v1/chat/threads \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/threads', 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/threads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
