Attach files via API Follow

Comments

5 comments

  • Avatar
    Clare Lo

    Hello Chris,

    Can we attach other file formats to a ticket? For example, users can attach documents and videos to a ticket. 

  • Avatar
    Phil

    This resource is rather sparse! Might as well go straight to https://developer.zendesk.com/rest_api/docs/core/attachments#uploading-files :p

  • Avatar
    Rebecca

    Hi Clare- 

    You can use the upload attachment API to upload the same type of files as you can via the agent interface. 

  • Avatar
    Vaishali

    I am using attachment API to upload any files to create ticket.When I check ticket and download that attachemnt , it is not download.

    Note : filename like abc.png is in my system .

    const url = "https://fyttest.zendesk.com/api/v2/uploads.json?filename="+filename;

    Request json :

    {
    "attachment": {
    "size": size
    }
    };

     

    Ques : Is there anything missing in Request json fields?

  • Avatar
    Dwight Bussman (Edited )

    Hi Vaishali,

    I'm afraid I'm not understanding your question. It looks like you've already reached out to support@zendesk.com with a very similar question. I'll see that someone reaches out to you on that ticket as we may need to get more clarification/examples to see what's going on here.

    Thanks,

Please sign in to leave a comment.

Powered by Zendesk