Close a ticket from AI context
PATCH
/
tickets
/
ai
/
{ticketId}
/
close
Close a ticket from AI context
curl --request PATCH \
--url http://localhost:3002/api/v1/tickets/ai/{ticketId}/close \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'PATCH', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/tickets/ai/{ticketId}/close', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/tickets/ai/{ticketId}/close"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.patch(url, headers=headers)
print(response.text)Last modified on July 18, 2026
⌘I
Close a ticket from AI context
curl --request PATCH \
--url http://localhost:3002/api/v1/tickets/ai/{ticketId}/close \
--header 'x-ai-tool-secret: <x-ai-tool-secret>'const options = {method: 'PATCH', headers: {'x-ai-tool-secret': '<x-ai-tool-secret>'}};
fetch('http://localhost:3002/api/v1/tickets/ai/{ticketId}/close', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/tickets/ai/{ticketId}/close"
headers = {"x-ai-tool-secret": "<x-ai-tool-secret>"}
response = requests.patch(url, headers=headers)
print(response.text)