curl --request GET \
--url https://api.hq.zone/v1/api/conversations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hq.zone/v1/api/conversations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hq.zone/v1/api/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hq.zone/v1/api/conversations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hq.zone/v1/api/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hq.zone/v1/api/conversations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hq.zone/v1/api/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"conversations": [
{
"agent": {
"display_name": "<string>",
"avatar_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>"
},
"artifact_count": 123,
"channel_kind": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_activity_at": "2023-11-07T05:31:56Z",
"mode": "<string>",
"app": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"state": "<string>"
},
"email_from": "<string>",
"email_subject": "<string>",
"email_to": [
"<string>"
],
"last_text": "<string>",
"title": "<string>"
}
],
"page": 123,
"page_size": 123,
"total": 123,
"viewing_as": "<string>"
}List conversations
Returns a paginated list of the caller’s conversations within their workspace, by default newest-activity first. Each row includes the conversation id, channel, mode, last-activity time, title, a short preview of the latest message, the associated agent, an optional attached app, a delivered-artifact count, and, for email threads, from/to/subject. Supports a free-text query over title/agent/preview, sort (recent, oldest, or title), a mode filter (fast vs standard, or all), and a channel filter (email is excluded by default unless explicitly requested). Workspace admins may pass view=admin to list every conversation in the workspace; the response echoes the viewing mode, total match count, and page window.
curl --request GET \
--url https://api.hq.zone/v1/api/conversations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hq.zone/v1/api/conversations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hq.zone/v1/api/conversations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hq.zone/v1/api/conversations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hq.zone/v1/api/conversations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hq.zone/v1/api/conversations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hq.zone/v1/api/conversations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"conversations": [
{
"agent": {
"display_name": "<string>",
"avatar_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>"
},
"artifact_count": 123,
"channel_kind": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_activity_at": "2023-11-07T05:31:56Z",
"mode": "<string>",
"app": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"state": "<string>"
},
"email_from": "<string>",
"email_subject": "<string>",
"email_to": [
"<string>"
],
"last_text": "<string>",
"title": "<string>"
}
],
"page": 123,
"page_size": 123,
"total": 123,
"viewing_as": "<string>"
}Authorizations
Scopes
Query Parameters
Optional channel filter. When set to a known channel kind (e.g.
email) the list returns ONLY threads of that kind - this backs the
admin Email > Threads tab. When unset, the default list EXCLUDES
email so external-correspondence threads don't bleed into the main
Home conversation list (they live under the Email section instead).
Unknown values yield an empty set rather than an error.
Response
Conversation list (paginated)