Get the TicketId for a Note that was made for it.

I have a wwebhook set up to get called whenever a Note is created or updated. This webhook request sends over the NoteId which I am about to run a GET request on the Note to get its content. However, how would I get the TicketId for the ticket this note was created for?

You can pull the associations of the Note to get the TicketID it’s linked with.

The help document for engagement/notes lists associations as an option for data to be retrieved. You would just be adding something like “&associations=tickets” to GET request.