1

I'm experimenting with Cognito Forms and the JSON WebHooks. The problem I'm running into is how to access images (or any file) uploaded with a form. I need to get the image's URL to download it, but the JSON data received only has an "Id" field, and the file name, but no URL.

How can I use the Id to get the full file URL?

This will be done automatically by a custom application so I need it to work programmatically, NOT as a manual ("go to this page and click here") process.

Sample of JSON data received from image upload widget looks like this:

[
    {
        "ContentType": "image/png",
        "Id": "F-RvLAskaPGomphWSa4LFsXk",
        "Name": "Screen Shot 2015-03-08 at 1.34.19 PM.png",
        "Size": 1044716
    }
]
1

Cognito Forms supports direct file access via Zapier integration, but not through JSON webhooks. We will be enhancing our integration options over the next few months and this will definitely address this. In the meantime, please see if Zapier will meet your integration needs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.