Hi all,
I am building a web app integration that receives a temporary download file and would then like to push this link through to the View API.
Based on some of the Box API documentation, when working with the Content and View API together, I should be able to execute the following code to accomplish the above task:
curl https://view-api.box.com/1/documents \
-H "Authorization: Token YOUR_API_KEY" \
-H "Content-type: application/json" \
-d '{"url": "https://dl.boxcloud.com/*"}' \
-X POST
However, I am receiving an error of {"message": "Invalid token", "type": "error"}.
I am using the API token found at the bottom of the page on the Application page.
- Is the View API no longer reachable from the Content API?
- Does Content API have an equivalent to the View API functionality?
Thank you!