Are bots for your business? Find out here with Freddy, our puppy bot!
+1 (866) 832-3090
+91 (44) 6667 8040
+44 (800) 808 5790
+61 2 8188 4692
How do i create a ticket with attachments where file name is in the form of URL (salesforce file). For example:
curl -v -u firstname.lastname@example.org:test -H 'Content-type: multipart/form-data' -F "attachments=https://companyname.my.salesforce.com/sfc/p/0t0000000wk5/a/0t0000000Cp7/K0CKHoc_6OTY.GLNrdGLMg_XCBcUr8HhRKvxBEAHF.Y" -F "email@example.com" -F "subject=Ticket Title" -F "description=this is a sample ticket" -X POST 'https://demo.freshdesk.com/api/v2/tickets'
As of now, our create a ticket with attachment works only with files present in your local machine i.e. the paths you specify for "attachments=" should be a local path.
Happy to pass on the feedback and explore the feasibilities for the same.
Start your 21-day free trial. No credit card required. No strings attached.
Copyright © Freshworks Inc. All Rights Reserved.