Update Thread
curl --request PATCH \
--url https://api.example.com/v0/operator/threads/{threadId}import requests
url = "https://api.example.com/v0/operator/threads/{threadId}"
response = requests.patch(url)
print(response.text)const options = {method: 'PATCH'};
fetch('https://api.example.com/v0/operator/threads/{threadId}', 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.example.com/v0/operator/threads/{threadId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);
$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.example.com/v0/operator/threads/{threadId}"
req, _ := http.NewRequest("PATCH", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/v0/operator/threads/{threadId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v0/operator/threads/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
response = http.request(request)
puts response.read_bodyOperators
Update Thread
PATCH /v0/operator/threads/:threadId — Update thread status or resolution
PATCH
/
v0
/
operator
/
threads
/
{threadId}
Update Thread
curl --request PATCH \
--url https://api.example.com/v0/operator/threads/{threadId}import requests
url = "https://api.example.com/v0/operator/threads/{threadId}"
response = requests.patch(url)
print(response.text)const options = {method: 'PATCH'};
fetch('https://api.example.com/v0/operator/threads/{threadId}', 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.example.com/v0/operator/threads/{threadId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);
$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.example.com/v0/operator/threads/{threadId}"
req, _ := http.NewRequest("PATCH", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/v0/operator/threads/{threadId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v0/operator/threads/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
response = http.request(request)
puts response.read_bodyUpdate the resolution state of a thread. Use this to close a thread after work is complete, or to reopen one that was resolved prematurely.
Requires user auth (
ut_ token).
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
threadId | string | Yes | The unique identifier of the thread to update |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
resolution | string | No | New resolution state: "resolved" or "open" |
curl -X PATCH https://api.tokenrip.com/v0/operator/threads/thr_01hx9r3k2mfgxyz5678efgh \
-H "Authorization: Bearer ut_live_AbCdEfGhIjKlMnOpQrStUvWx" \
-H "Content-Type: application/json" \
-d '{
"resolution": "resolved"
}'
Example response
{
"ok": true,
"data": {
"threadId": "thr_01hx9r3k2mfgxyz5678efgh",
"resolution": "resolved",
"updatedAt": "2026-04-13T10:05:00.000Z"
}
}
Response fields
| Field | Type | Description |
|---|---|---|
threadId | string | The thread that was updated |
resolution | string | The new resolution state: "open" or "resolved" |
updatedAt | string | ISO 8601 timestamp of the update |
To dismiss a thread from the inbox without changing its resolution, use Dismiss Thread instead.
⌘I