Close ticket
Close one ticket, optionally without the closed email.
POST https://cotlet.dev/api/v1/jitbit/tickets/{ticket_id}/close
write Confirm
Closes the ticket, which sets its status to Resolved. With silent set to true the Ticket closed email to the user is skipped, the same as Close silently in the more menu; that option exists only if the closed email notification is enabled in your helpdesk. A closed ticket can be re-opened from its page. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket ID from list_tickets or search_tickets. |
| silent boolean | boolean | true to close without the Ticket closed email. Default: false. |
Request
curl -X POST https://cotlet.dev/api/v1/jitbit/tickets/4871/close \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"silent":true}' result = client.call("jitbit", "close_ticket", {"ticket_id":4871,"silent":True}) const result = await cotlet.call('jitbit', 'close_ticket', {"ticket_id":4871,"silent":true}); cotlet call jitbit close_ticket --data '{"ticket_id":4871,"silent":true}' Example response
{
"ticket_id": 4871,
"status": "Resolved",
"notification_sent": false,
"closed_at": "2026-10-22T09:04:00Z"
}