Close ticket
curl --request POST \
--url https://api.conduit.ai/v1/tickets/{id}/close \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.conduit.ai/v1/tickets/{id}/close"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.conduit.ai/v1/tickets/{id}/close', 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.conduit.ai/v1/tickets/{id}/close",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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.conduit.ai/v1/tickets/{id}/close"
req, _ := http.NewRequest("POST", 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.post("https://api.conduit.ai/v1/tickets/{id}/close")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conduit.ai/v1/tickets/{id}/close")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "xd88mkfbmxgckpeyzs8m9r9d3d843me3",
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"contact_id": "ph77c0dy0mgdpzmqz6tesry8w184002s",
"conversation_id": "ph77c0dy0mgdpzmqz6tesry8w184002s",
"channel": "unthreaded_email",
"status": "new",
"waiting_on": "customer",
"inbox_type_id": "guest",
"subject": "Early check-in request",
"summary": "Guest asked to confirm whether early arrival is possible.",
"ai_paused": false,
"assignee": {
"id": "m48k3v7p2q9x5t1w8r6n4j0y3u2i5o7a",
"name": "Alex M",
"email": "alex@example.com",
"picture_url": null
},
"follow_up_at": null,
"last_message_at": "2026-04-03T03:14:15.000Z",
"last_message_preview": "Can I check in early?",
"created_at": "2026-04-01T17:22:10.000Z",
"updated_at": "2026-04-03T03:14:15.000Z",
"call_transcript_id": null
}
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}Tickets
Close Ticket
Close a resolved ticket to remove it from the active queue while preserving the conversation history.
POST
/
v1
/
tickets
/
{id}
/
close
Close ticket
curl --request POST \
--url https://api.conduit.ai/v1/tickets/{id}/close \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.conduit.ai/v1/tickets/{id}/close"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.conduit.ai/v1/tickets/{id}/close', 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.conduit.ai/v1/tickets/{id}/close",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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.conduit.ai/v1/tickets/{id}/close"
req, _ := http.NewRequest("POST", 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.post("https://api.conduit.ai/v1/tickets/{id}/close")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conduit.ai/v1/tickets/{id}/close")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "xd88mkfbmxgckpeyzs8m9r9d3d843me3",
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"contact_id": "ph77c0dy0mgdpzmqz6tesry8w184002s",
"conversation_id": "ph77c0dy0mgdpzmqz6tesry8w184002s",
"channel": "unthreaded_email",
"status": "new",
"waiting_on": "customer",
"inbox_type_id": "guest",
"subject": "Early check-in request",
"summary": "Guest asked to confirm whether early arrival is possible.",
"ai_paused": false,
"assignee": {
"id": "m48k3v7p2q9x5t1w8r6n4j0y3u2i5o7a",
"name": "Alex M",
"email": "alex@example.com",
"picture_url": null
},
"follow_up_at": null,
"last_message_at": "2026-04-03T03:14:15.000Z",
"last_message_preview": "Can I check in early?",
"created_at": "2026-04-01T17:22:10.000Z",
"updated_at": "2026-04-03T03:14:15.000Z",
"call_transcript_id": null
}
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}Authorizations
Conduit API token. Use Authorization: Bearer <token>. Read/write endpoints require a token with write access.
Path Parameters
Ticket id.
Example:
"xd88mkfbmxgckpeyzs8m9r9d3d843me3"
Query Parameters
Optional workspace override. If omitted, Conduit resolves the ticket's workspace automatically.
Example:
"j57demo8f8x7c9v0n2q4r6t8y1u3i5o"
Response
Closed ticket
Single ticket response.
Show child attributes
Show child attributes
Was this page helpful?
⌘I