Attachments are not showing up in the onTicketCreate Event Payload in Freshdesk


I have a Freshdesk Serverless Custom App, where the app processes the attachments that are uploaded during the Ticket creation. This is implemented using the onTicketCreate product event in the app. The attachments are fetched from the following object key.

let attachments = payload["data"]["ticket"]["attachments"]

This was working until 8th August 2023, but stopped working from 9th August. The attachments in the payload are empty even though attachments are uploaded during ticket creation.

Is there any recent changes done on Freshdesk related to the same ?


Had to change attachments to attachment to get the array of attachments.

let attachments = payload["data"]["ticket"]["attachment"]