I have uploaded a file in my Cognito Form and the Webhook POST JSON data did not include any Attachment URL link.

It only has the FileName and content type.

How can I get FileUpload URL on my webhook data?

I would like to save user attachment in my blob storage instead of going to Cognito Dashboard and manual download.

"File": [
      "ContentType": "image/jpeg",
      "Id": "F-O!gwWeuLtYKQ2VDWp3L1qE",
      "IsEncrypted": false,
      "Name": "668b5c00-0e15-4430-b731-b2e1a335a4ae-thumbnail.jpg",
      "Size": 16712

I tried to replicate your experience, however my JSON hook did contain the link in a field after "Size" called "File". I was using a paid account, but I don't know if you are or if that actually has an affect.

There is a, "hack" that you can use, take this link https://services.cognitoforms.com/forms/admin/file?id=

and add the file ID to the end of it. This will download your file if and only if you are currently logged in from the user agent making the request.

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.