07/22/2019 224 views


I'd like to add a comment via API to an existing helpdesk ticket. Any ideas?

Here's the knowledge base article which covers the basic helpdesk ticket API CRUD operations: https://support.quest.com/kace-systems-management-appliance/kb/266751/read-update-and-create-tickets-using-the-kace-helpdesk-api

I can run a GET http://k1000-dev1/api/service_desk/tickets/{ticket # goes here}/changes  request to see a list of comments (and other changes) for a ticket, but I don't know how to add a new change/comment to the ticket via API. 



1 Comment   [ + ] Show comment


  • Did you have any luck?

Community Chosen Answer


It's not described in the API documentation or knowledge base articles, but here's how you do it:

Method and URL:
PUT http://your-k1000-site-goes-here/api/service_desk/tickets/your-ticket-#-goes-here

Accept: application/json
Content-Type: application/json
x-dell-csrf-token: your-token-goes-here
x-dell-api-version: your-version-goes-here (e.g. 9)

"Tickets" : [
"change": { "comment": "I'm an API-created comment!" }

Also, here's the method and url for reading a ticket's comments. Make sure you use the same headers as the PUT request and no body.

GET http://your-k1000-site-goes-here/api/service_desk/tickets/your-ticket-#-goes-here/changes

Answered 07/24/2019 by: DavidCondit
White Belt

All Answers


I don't see any endpoint that exposes that field as editable. I'm open correction, however. Retrieving comments is simple, however, adding a comment natively through the API isn't something I see. If anyone finds it is indeed possible, please ping me and I can explore adding that functionality to the community powershell module.

Changing the status via API is very straight forward however. I document this here:


Answered 07/24/2019 by: isudothings
Senior Purple Belt