curl --request GET \
--url https://api.statisfy.com/v1/workbench/actions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/workbench/actions"
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/workbench/actions', 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/workbench/actions",
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/workbench/actions"
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/workbench/actions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/workbench/actions")
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": [
{
"id": "<string>",
"priority": 123,
"status": "<string>",
"title": "<string>",
"type": "<string>",
"account_id": "<string>",
"account_name": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"assignee": {
"id": "<string>",
"name": "<string>"
},
"conversation_id": "<string>",
"created_at": "<string>",
"description": "<string>",
"dismissed_at": "<string>",
"executed_at": "<string>",
"last_activity_at": "<string>",
"meeting_start": "<string>",
"meeting_title": "<string>",
"resolution": "<string>",
"resolved_by": {
"id": "<string>",
"name": "<string>"
},
"source": "<string>",
"source_id": "<string>",
"updated_at": "<string>"
}
],
"has_more": false,
"next_cursor": "<string>"
}List Workbench actions
Pages through Workbench actions, most recent activity first (last_activity_at: when carried out or dismissed, else when made), without their drafts: read one by id for that. An action is a card waiting for a person to approve: a reply or email to send, a task or ticket to create, tool calls to run, an escalation, a meeting prep brief. A conversation’s replies are actions on it, and its newest open reply draft is the one sent when approved: your queue (no filter[conversation]) defaults to collapse=conversation, which folds each conversation to one row, its newest open action of any kind (usually that draft; a newer tool approval or escalation instead), its latest outcome once nothing is open when the status filter includes executed or dismissed (the default, open only, lists no conversation with nothing open), beside the cards on no conversation, as the Queue shows them; collapse=none lists every action, and is the default (and the only choice) with filter[conversation]. Filter as GET /v1/conversations does, with filter[<key>][<op>]=<value> (conditions ANDed; in repeats the parameter), each key taking one condition, eq or in: status (in_progress, skipped, executed, dismissed; default in_progress, the Queue’s Open: its Closed is executed and dismissed; with filter[conversation] every one but skipped, as the app’s conversation view loads a thread), type, account (account ids), agent (digital worker ids, as a conversation’s agent gives them); conversation (eq: one conversation’s actions, every draft it had, unfolded); last_activity_at takes a date (YYYY-MM-DD, UTC days) with eq, gt, gte, lt or lte, and may repeat to make a range. Your queue is yours: without filter[conversation] this lists the actions assigned to you, and a digital worker’s held replies on conversations assigned to you, as the app’s Workbench Queue does, whatever your role. With filter[conversation] it lists that conversation’s actions, whoever holds them. A key that is not a person’s has no queue and must pass filter[conversation].
curl --request GET \
--url https://api.statisfy.com/v1/workbench/actions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/workbench/actions"
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/workbench/actions', 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/workbench/actions",
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/workbench/actions"
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/workbench/actions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/workbench/actions")
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": [
{
"id": "<string>",
"priority": 123,
"status": "<string>",
"title": "<string>",
"type": "<string>",
"account_id": "<string>",
"account_name": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"assignee": {
"id": "<string>",
"name": "<string>"
},
"conversation_id": "<string>",
"created_at": "<string>",
"description": "<string>",
"dismissed_at": "<string>",
"executed_at": "<string>",
"last_activity_at": "<string>",
"meeting_start": "<string>",
"meeting_title": "<string>",
"resolution": "<string>",
"resolved_by": {
"id": "<string>",
"name": "<string>"
},
"source": "<string>",
"source_id": "<string>",
"updated_at": "<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
conversation (the default for your queue): one row per conversation, its newest open action of any kind (often the reply draft sent when approved, but a newer tool approval or escalation comes first; else its latest outcome), beside the cards on no conversation, as the Workbench Queue lists them. none (the default with filter[conversation]): every action
conversation, none Was this page helpful?