How can I retrieve uploaded files through API or webhook

  • Profile Image
    Asked on January 21, 2017 at 10:41 AM

    I'm implementing a file upload form where I would like to copy the uploaded files to my server after the form has been submitted. I'm familiar with the Webhook integration and presume that feature could be used and hope you can point me to some samples.

    I would be willing to use the native 'file upload' control but would prefer the drag 'n drop widget. Will my goal of copying the file from JF to my server be complicated by using the drag 'n drop widget?

  • Profile Image
    Answered on January 21, 2017 at 01:47 PM

    Thank you for contacting our support. 

    Did you consider using an FTP and sending your submissions and uploads to your FTP server. If you would like to use FTP please refer to this guide:

    If it doesn't work for you please let us know so we can review some other possible options.

    Thank you!

  • Profile Image
    Answered on January 21, 2017 at 03:45 PM
    Thanks for your reply - but all i need is the link - i don't think i need
    ftp in this case because your api will provide me an address that my
    server-side code can access.
    and as I type this i realize the question is api specific and might need to
    be forworded to the api team?
    This is really where the webhook comes into play. when a file is saved my
    server hears a post from yours and can just save the file as a matter of
    that course. i think.
  • Profile Image
    Answered on January 21, 2017 at 08:23 PM

    Currently, the API does not send the actual files except the file names. However, you can define in your script the base URLs along with the parameters e.g. username, formID to generate the file URL.

    Here are examples:

    For the native file upload field, the file format is the following:


    USERNAME is your username e.g. AmSteve

    formID is the form ID in used

    submissionID is the submission ID (long string numbers) generated after submission

    fileName is the actual file name




    For the drag and drop upload widget, you can use the following format:


    Hope this helps!