Hi. Is there an API for adding a comment to an existing ticket? If so, is it documented here?
I saw the actual IIQ front-end in the browser making this request when I added a comment, but I don’t think this is a documented request-type…
fetch("https://site.incidentiq.com/api/v1.0/tickets/be...ticket-id...6568/activities/new", {
"headers": {
"accept": "application/json, text/plain, */*",
"client": "WebBrowser v1720220859093",
"content-type": "application/json",
"productid": "88df910c-91aa-e711-80c2-0004ffa00010",
"sec-ch-ua": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
...
"Referrer-Policy": "strict-origin-when-cross-origin"
},
"body": "{\"TicketId\":\"be...ticket-id...6568\",\"ActivityItems\":[{\"$type\":\"Spark.Shared.Models.TicketActivityComment, Spark.Shared\",\"TicketActivityTypeId\":6,\"ByUserId\":\"4cacdb03-eb45-4e61-b51f-f3695e1ab3f7\",\"Comments\":\"<p>comment 1</p>\"}],\"IsPublic\":false,\"WaitForResponse\":false,\"TicketWasUpdated\":false}",
"method": "POST"
});

