Freshworks named the only Challenger in 2021 Gartner® Magic Quadrant™ for ITSM tools. Access Report

Start a new topic

Events API - ticket.submitClick

Hi, am trying to get notes data of a ticket whenever a new note is added to it, for that am using ticket.submitClick Event, but am ended up with "Invalid Event" error.

This is my code.

var eventCallback = function (event)



 };"ticket.onSubmitClick", eventCallback);

It's not ticket.onSubmitClick it is ticket.submitClick

Look here -

Even ticket.submitClick also didn't work.

var eventCallback = function (event) {

    console.log(event.type + " event occurred");

};"ticket.submitClick", eventCallback);

(11.9 KB)

Hi Anish,

Can you use the following APIs ticket.sendReply, ticket.addNote, ticket.forward instead of ticket.submitClick. These events are for submitting a response from the editor.

We have corrected the documentation by removing the submitclick API. As Monisha mentioned, please use the following APIs:

ticket.sendReply -

ticket.addNote -

ticket.forward -

Login or Signup to post a comment