0

I used the get_account_tree parameter and looped trough the output to get the value of the shared_Link value. However, it does not work. I also used get_collaboration_link but no success. How can I store the shared_Link to the box.net?

CharlesB
  • 86,532
  • 28
  • 194
  • 218

1 Answers1

0

Information on how to create a shared link is found here. A sample cURL request looks like:

curl https://api.box.com/2.0/files/FILE_ID \
-H "Authorization: BoxAuth api_key=API_KEY&auth_token=AUTH_TOKEN" \
-d '{"shared_link": {"access": "open"}}' \
-X PUT
seanrose
  • 8,185
  • 3
  • 20
  • 21