Skip to main content

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:

https://github.com/freshdesk/fresh-samples/blob/master/PHP/create_ticket_with_multiple_attachments.php  


 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.





Hi Dmitry,


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


Thanks,

Janani V.