Skip to main content
Question

Uploaded_By Email for Anonymous File Request Forms

  • May 23, 2025
  • 2 replies
  • 43 views

Forum|alt.badge.img

I have a file request form, where anonymous users have to enter a Description, an email address, and Upload file(s).

Given the ID of the folder these uploads are going to, I want the name, description, and uploader's email of every item in the folder.

• How do I retrieve the email of the anonymous uploader?

I tired using this endpoint:
https://api.box.com/2.0/folders/:folder_id/items

But descriptions are not offered, so I used a workaround with this:
https://api.box.com/2.0/search?query=NOT%20"zzzzz"&ancestor_folder_ids=:folder_id

Now I can retrieve each item's name and description, but not the email of the anonymous uploader.

Querying the file ID directly also does not return the email:
https://api.box.com/2.0/files/:file_id

2 replies

Forum|alt.badge.img

Hi Kusar

You can get the value by explicitly asking for the 'uploader_display_name' field in your API call

https://developer.box.com/reference/resources/file--full/#param-uploader_display_name

For example: https://api.box.com/2.0/folders/:folder_id/items?fields=id,name,upload_display_name

Rgds, Peter Christensen, Platform Solutions Engineer, Box


Forum|alt.badge.img

Thanks for the response, Peter -

I just tested using the endpoint https://api.box.com/2.0/folders/:folder_id/items?fields=uploader_display_name

and was able to retrieve the email.