Question about API using

  • 31 August 2018
  • 1 reply

Hello ! I try to create note with attachments. I send request to "api/v2/tickets/'.$ticket_id.'/notes" through "POST" method similar as in sample for tickets:  

 But I get the error "Content-Type header is set to multipart/form-data. It should be set to application/json"

So how can I create note with multiple attachments ? Unfortunately I didn't find appropriate example in samples.

Also I have  same problem with updating tickets -  it's possible to update ticket just without attachments through "PUT" method.

This topic has been closed for comments

1 reply

Hi Dmitry,

Please reach out to Freshdesk forums for Freshdesk API related queries. 


Janani V.