curl --request GET \
--url https://api.statisfy.com/v1/conversations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/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.statisfy.com/v1/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.statisfy.com/v1/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.statisfy.com/v1/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.statisfy.com/v1/conversations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/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{
"data": [
{
"activity_id": "<string>",
"ai": {
"participated": true,
"closed_by": "ai_judged",
"resolution": "resolved"
},
"created_at": "<string>",
"id": "<string>",
"updated_at": "<string>",
"account_id": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"assignee": {
"id": "<string>",
"name": "<string>",
"type": "user"
},
"channel": "portal",
"close_reason": "answered",
"closed_at": "<string>",
"customer_told_at": "<string>",
"engineering_issue": {
"key": "<string>",
"state": "open",
"synced_at": "<string>",
"title": "<string>",
"tracker": "linear",
"url": "<string>"
},
"first_reply_at": "<string>",
"kind": "customer_success",
"last_message_at": "<string>",
"outcome": "knowledge",
"priority": "normal",
"reopen_count": 0,
"started_by": "customer",
"status": "<string>",
"status_group": "not_started",
"subject": "<string>",
"tags": [
{
"id": 123,
"name": "<string>"
}
]
}
],
"has_more": false,
"next_cursor": "<string>"
}List conversations
Pages through the workspace’s conversations, most recently active first (one with no message last). Filter with filter[<key>][<op>]=<value> (conditions are ANDed; in repeats the parameter), each key taking one condition, eq or in: account, assignee, agent (ids), tag (tag ids), status_group (not_started, active, done, archived), channel (email, slack, teams, portal, in_app_sdk), kind (support, customer_success), priority (normal, urgent). last_message_at takes a date (YYYY-MM-DD, UTC days) with eq, gt, gte, lt or lte, and may repeat to make a range. outreach (eq, true or false) keeps the conversations a digital worker’s proactive email went out on (each is in GET /v1/outreach_emails), or the rest. Anything else is a 422. The order is by each conversation’s latest message, so one that gets a message while you page moves ahead of your cursor: page again from the start to see it. A conversation is a thread an AI in the workspace handles, or could: an email, Slack or Teams thread, or a chat in the portal or the in-app widget. kind is support (a support AI’s) or customer_success (any other AI’s), null when no AI covers the thread. Which conversations a workspace reads follows its plan: with digital workers, every conversation (threads no AI covers included); with the support assistant alone, the support ones. status is the workspace’s own status and status_group its group. ai says whether an AI wrote in it and, once closed, how it was resolved and why it closed; nothing records a customer confirming a resolution. engineering_issue is the issue it was handed to.
curl --request GET \
--url https://api.statisfy.com/v1/conversations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/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.statisfy.com/v1/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.statisfy.com/v1/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.statisfy.com/v1/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.statisfy.com/v1/conversations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/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{
"data": [
{
"activity_id": "<string>",
"ai": {
"participated": true,
"closed_by": "ai_judged",
"resolution": "resolved"
},
"created_at": "<string>",
"id": "<string>",
"updated_at": "<string>",
"account_id": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"assignee": {
"id": "<string>",
"name": "<string>",
"type": "user"
},
"channel": "portal",
"close_reason": "answered",
"closed_at": "<string>",
"customer_told_at": "<string>",
"engineering_issue": {
"key": "<string>",
"state": "open",
"synced_at": "<string>",
"title": "<string>",
"tracker": "linear",
"url": "<string>"
},
"first_reply_at": "<string>",
"kind": "customer_success",
"last_message_at": "<string>",
"outcome": "knowledge",
"priority": "normal",
"reopen_count": 0,
"started_by": "customer",
"status": "<string>",
"status_group": "not_started",
"subject": "<string>",
"tags": [
{
"id": 123,
"name": "<string>"
}
]
}
],
"has_more": false,
"next_cursor": "<string>"
}Authorizations
An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.
Query Parameters
Was this page helpful?