Skip to main content
Question

I have a question about box opneAPI.

  • May 23, 2025
  • 4 replies
  • 24 views

Forum|alt.badge.img

Hi!

Thank you for your support as always.

I have a question about box opneAPI.

Is there an API to get "who downloaded it" information?


Introduction - Yuta Okutani

4 replies

Forum|alt.badge.img

Hi Yuta,

There is a preview and download count in the shared link of the file object.

This is assuming the file is shared.

So for example if I list a file:

❯ box files:get 1127033253925  --as-user 18622116055 --fields type,id,name,shared_link
Type: file
ID: '1127033253925'
Name: file_example_AVI_1280_1_5MG.avi
Shared Link:
    URL: 'https://app.box.com/s/z9r2mntj3beuxs5rtw4do8dlkqgeqj35'
    Download URL: 'https://app.box.com/shared/static/z9r2mntj3beuxs5rtw4do8dlkqgeqj35.avi'
    Vanity URL: null
    Vanity Name: null
    Effective Access: open
    Effective Permission: can_download
    Is Password Enabled: false
    Unshared At: null
    Download Count: 2
    Preview Count: 1
    Access: open
    Permissions:
        Can Preview: true
        Can Download: true
        Can Edit: false

Not sure about your use case, let us know if this helps.

Best regards


Forum|alt.badge.img

Rui san.
Thanks for answering.
(*‘∀‘)


You can see how many times it has been downloaded.
But you don't know who downloaded it.

Is there a way to know who downloaded it?


Forum|alt.badge.img

Hi Yuta,

I was looking around for it in the REST API or SDK's but I couldn't find it.

I do see it on the box app though.

BOX2_lGlfBT4OEgk0nTzz9vHj1g.png

BOX2_vJmzDtaicCKpZIBcp4qyFQ.png

 

Looks like it is not supported by the API.


Forum|alt.badge.img

Hi Rui san.
Thanks for answering!

It seems so.
I'll try to think of another way.

('ω')ノ