Tasks
Mark a task as done
Marks a task as done. It leaves the open list and stays in the history of its ticket.
Requires: desk.write scope, Converse licence.
Authorization
bearerAuth AuthorizationBearer <token>
A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Path Parameters
id*string
The task's id (a UUID).
Response
OK
Example
{ "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37", "kind": "billing", "note": "Hi Amina, your order has shipped.", "due_at": "2026-10-14T08:30:00Z", "status": "open", "ticket_id": "b1e8bf6f-7f06-4c91-96dd-a1eb7abe504b", "ticket_ref": "TCK-4471", "contact_id": "e370603e-5791-443e-9fb1-26dedb014cd9", "contact_name": "Amina Wanjiru", "assignee_id": "fe310313-9e12-412d-969a-cdb7558caaca", "assignee_name": "Wanjiku Mwangi", "created_by": "2faf86ee-f691-403c-936d-bb2014aaf0d1", "created_at": "2026-10-14T08:30:00Z", "updated_at": "2026-10-14T08:30:00Z", "completed_at": "2026-10-14T08:30:00Z", "contact_number": "+254712345678", "desk_number": "+254712345678"}FieldTypeDescription
idrequiredstring (uuid)kindrequiredstringWhat kind it is.noterequiredstringA note.due_atrequiredstring (date-time)When it is due, as a date and time with an offset, for example 2026-10-15T09:00:00+03:00.statusrequiredstringThe status to set.ticket_idstring (uuid) | nullThe id of the ticket this is about.ticket_refstringcontact_idstring (uuid) | nullThe id of the contact the task is about.contact_namestringassignee_idstring (uuid) | nullThe id of the person the task is for.assignee_namestringcreated_bystring (uuid) | nullcreated_atrequiredstring (date-time)updated_atrequiredstring (date-time)completed_atstring (date-time) | nullcontact_numberstringdesk_numberstringcurl -X POST "https://api.sautidesk.com/v1/desk/tasks/string/done"