The view endpoint is used when a user wants to view or download a document.
Endpoint POST https://yourapp.com/view/:documentId
Body
Request body contains the information to know which user and account the file is requested by. Usually the config objects in body.config and body.userConfig.
Response
Respond with the actual PDF document.