{"info":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","description":"<html><head></head><body><p>FileShadow provides APIs for partners to use in partner systems. Partners can create and remove users, as well as upload and search files for those users.</p>\n<p>Contact Support:\n Name: FileShadow Development\n Email: <a href=\"mailto:developers@fileshadow.com\">developers@fileshadow.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18675502","collectionId":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","publishedId":"UVXjKG7B","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"cc0000"},"publishDate":"2022-01-14T19:08:10.000Z"},"item":[{"name":"partner","item":[{"name":"Create/modify a user","id":"b9483e5d-ed21-42ed-bb32-45be125e4e8e","request":{"method":"POST","header":[{"description":"<p>Token of the user</p>\n","key":"usertoken","value":"<User token (for modify)>"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"firstName","value":"John","description":"<p>(Required) First name of the user</p>\n"},{"key":"lastName","value":"Doe","description":"<p>(Required) Last name of the user</p>\n"},{"key":"email","value":"j.doe@mycompany.com","description":"<p>(Required) Unique user email address</p>\n"},{"key":"phone","value":"+12225556666","description":"<p>(Required) Phone number for user</p>\n"},{"key":"passwordSha256","value":"62c34473fffc3ec104d3b9520824f6654c5f463e9194ddbf6b2695246e629098","description":"<p>The user's password as a sha256 hash (64 character hexidecimal string format). Password that the sha256 is generated from must be at least 8 characters long.</p>\n"},{"key":"active","value":"1","description":"<p>Active state of the user. 0 for inactive. 1 for active. Default is 1</p>\n"},{"key":"reason","value":"If active is zero, this is the message the user would see if they attempt to login","description":"<p>Reason for a user being inactive. Only shown if a user signs in but is marked as inactive.</p>\n"}]},"url":"https://partner.fileshadow.com/partner/user","description":"<p>Create or modify users within FileShadow. The API will issue a user token which will be used in subsequent calls to the API. The user token should be stored by the partner for later use, it is the partner's handle to a specific user. To modify an existing user, a user token must be supplied along with the updated information including name, phone, and email.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","user"],"host":["https://partner.fileshadow.com"],"query":[],"variable":[]}},"response":[{"id":"e9a1334e-2b6f-462a-8008-6cc214d6c867","name":"User was created/modified","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"Token of the user","key":"usertoken","value":"<User token (for modify)>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) First name of the user","key":"firstName","value":"John"},{"description":"(Required) Last name of the user","key":"lastName","value":"Doe"},{"description":"(Required) Unique user email address","key":"email","value":"j.doe@mycompany.com"},{"description":"(Required) Phone number for user","key":"phone","value":"+12225556666"},{"description":"The user's password as a sha256 hash (64 character hexidecimal string format). Password that the sha256 is generated from must be at least 8 characters long.","key":"passwordSha256","value":"62c34473fffc3ec104d3b9520824f6654c5f463e9194ddbf6b2695246e629098"},{"description":"Active state of the user. 0 for inactive. 1 for active. Default is 1","key":"active","value":"1"},{"description":"Reason for a user being inactive. Only shown if a user signs in but is marked as inactive.","key":"reason","value":"If active is zero, this is the message the user would see if they attempt to login"}]},"url":"https://partner.fileshadow.com/partner/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"error\": null,\n\t\"payload\": {\n\t\t\"usertoken\": \"<User Token>\",\n\t\t\"expiration\": \"2021-12-01T01:23:45.678Z\"\n\t}\n}"},{"id":"0e129604-bb54-4fe8-b3b6-c1f78e8ea368","name":"Error","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"Token of the user","key":"usertoken","value":"<User token (for modify)>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) First name of the user","key":"firstName","value":"John"},{"description":"(Required) Last name of the user","key":"lastName","value":"Doe"},{"description":"(Required) Unique user email address","key":"email","value":"j.doe@mycompany.com"},{"description":"(Required) Phone number for user","key":"phone","value":"+12225556666"},{"description":"The user's password as a sha256 hash (64 character hexidecimal string format). Password that the sha256 is generated from must be at least 8 characters long.","key":"passwordSha256","value":"62c34473fffc3ec104d3b9520824f6654c5f463e9194ddbf6b2695246e629098"},{"description":"Active state of the user. 0 for inactive. 1 for active. Default is 1","key":"active","value":"1"},{"description":"Reason for a user being inactive. Only shown if a user signs in but is marked as inactive.","key":"reason","value":"If active is zero, this is the message the user would see if they attempt to login"}]},"url":"https://partner.fileshadow.com/partner/user"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"b9483e5d-ed21-42ed-bb32-45be125e4e8e"},{"name":"Delete a user","id":"6a00861b-b434-4d82-8a51-74f0fb5ec64d","request":{"method":"POST","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User token>"}],"url":"https://partner.fileshadow.com/partner/deleteUser","description":"<p>Delete a partner user, identified by their user token, and delete all files belonging to this user. Once a user is deleted, files will not be accessible. This operation is not reversible.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","deleteUser"],"host":["https://partner.fileshadow.com"],"query":[],"variable":[]}},"response":[{"id":"5bbb0fd2-89b2-4d50-80ad-b9f4cc39f378","name":"User was deleted","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"url":"https://partner.fileshadow.com/partner/deleteUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"payload\": {\n\t\t\"usertoken\": \"<User Token>\"\n\t},\n\t\"error\": null\n}"},{"id":"30866b55-b8f3-4774-aea6-6bd211446edb","name":"Error","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"url":"https://partner.fileshadow.com/partner/deleteUser"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"6a00861b-b434-4d82-8a51-74f0fb5ec64d"},{"name":"Upload a file","id":"9f7e63f7-3e1b-49ef-9555-6785dc76ca8c","request":{"method":"POST","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User token>"},{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null},{"key":"eventDate","value":"2021-12-01T01:23:45.678Z","type":"text","description":"<p>The event date of the file</p>\n"},{"key":"eventDescription","value":"Picture of our family vacation","type":"text","description":"<p>The event description, will be keyword searchable.</p>\n"},{"key":"tags","value":"[\"california\",\"disneyland\",\"anaheim\",\"california adventure\"]","type":"text","description":"<p>Searchable array of tags, allowing for later recall of the file.</p>\n"}]},"url":"https://partner.fileshadow.com/partner/upload","description":"<p>Uploads a file to a partner user's account. After the file is uploaded, the API will return the file ID, which can be used to download, generate a shareable link, or retrieve the file's thumbnail.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","upload"],"host":["https://partner.fileshadow.com"],"query":[],"variable":[]}},"response":[{"id":"10c08dd3-338d-497b-bf61-082bd6b224c4","name":"File was uploaded","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"},{"description":"The event date of the file","key":"eventDate","value":"2021-12-01T01:23:45.678Z","type":"text"},{"description":"The event description, will be keyword searchable.","key":"eventDescription","value":"Picture of our family vacation","type":"text"},{"description":"Searchable array of tags, allowing for later recall of the file.","key":"tags","value":"[\"california\",\"disneyland\",\"anaheim\",\"california adventure\"]","type":"text"}]},"url":"https://partner.fileshadow.com/partner/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"payload\": {\n\t\t\"fileId\": 123456\n\t},\n\t\"error\": null\n}"},{"id":"ee7adbbb-0e82-4111-87d8-462a738bac80","name":"Error","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file"},{"description":"The event date of the file","key":"eventDate","value":"2021-12-01T01:23:45.678Z","type":"text"},{"description":"The event description, will be keyword searchable.","key":"eventDescription","value":"Picture of our family vacation","type":"text"},{"description":"Searchable array of tags, allowing for later recall of the file.","key":"tags","value":"[\"california\",\"disneyland\",\"anaheim\",\"california adventure\"]","type":"text"}]},"url":"https://partner.fileshadow.com/partner/upload"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"9f7e63f7-3e1b-49ef-9555-6785dc76ca8c"},{"name":"Search files for a partner user","id":"a85a56ca-f026-431c-be28-c57a7ffedde2","request":{"method":"POST","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User token>"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"searchPhrase","value":"Vacation","description":"<p>Search files that match the phrase</p>\n"},{"key":"page","value":"1","description":"<p>The page of search results</p>\n"},{"key":"perPage","value":"10","description":"<p>The number of results to return per page</p>\n"},{"key":"sortField","value":"modified","description":"<p>The sort field to order results by</p>\n"},{"key":"sortDirection","value":"ASC","description":"<p>The sort direction, ascending, or descending</p>\n"}]},"url":"https://partner.fileshadow.com/partner/files","description":"<p>Get a list of files, or search files, for a partner user. The API returns file details useful in file identification.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","files"],"host":["https://partner.fileshadow.com"],"query":[],"variable":[]}},"response":[{"id":"82549248-d9f4-4f4d-8f49-86db5b6b2b1c","name":"File list, based on the search criteria","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Search files that match the phrase","key":"searchPhrase","value":"Vacation"},{"description":"The page of search results","key":"page","value":"1"},{"description":"The number of results to return per page","key":"perPage","value":"10"},{"description":"The sort field to order results by","key":"sortField","value":"modified"},{"description":"The sort direction, ascending, or descending","key":"sortDirection","value":"ASC"}]},"url":"https://partner.fileshadow.com/partner/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"payload\": {\n\t\t\"total\": 68985514,\n\t\t\"files\": [\n\t\t\t{\n\t\t\t\t\"id\": 123456,\n\t\t\t\t\"filename\": \"Invoice.pdf\",\n\t\t\t\t\"fileSize\": 41650,\n\t\t\t\t\"sourceId\": 201,\n\t\t\t\t\"filePath\": \"/Accounting/Receivables/Invoice.pdf\",\n\t\t\t\t\"ingested\": 1638975426,\n\t\t\t\t\"created\": 1638975397,\n\t\t\t\t\"modified\": 1638975397,\n\t\t\t\t\"fileType\": \"file\",\n\t\t\t\t\"grouping\": \"portable\",\n\t\t\t\t\"tags\": [\n\t\t\t\t\t\"receipts\",\n\t\t\t\t\t\"overdue\"\n\t\t\t\t],\n\t\t\t\t\"mimeType\": \"application/pdf\",\n\t\t\t\t\"description\": \"Receivables\",\n\t\t\t\t\"eventDescription\": \"Invoices\",\n\t\t\t\t\"eventDate\": 1633975335,\n\t\t\t\t\"service\": \"Web\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 123456,\n\t\t\t\t\"filename\": \"Invoice.pdf\",\n\t\t\t\t\"fileSize\": 41650,\n\t\t\t\t\"sourceId\": 201,\n\t\t\t\t\"filePath\": \"/Accounting/Receivables/Invoice.pdf\",\n\t\t\t\t\"ingested\": 1638975426,\n\t\t\t\t\"created\": 1638975397,\n\t\t\t\t\"modified\": 1638975397,\n\t\t\t\t\"fileType\": \"file\",\n\t\t\t\t\"grouping\": \"portable\",\n\t\t\t\t\"tags\": [\n\t\t\t\t\t\"receipts\",\n\t\t\t\t\t\"overdue\"\n\t\t\t\t],\n\t\t\t\t\"mimeType\": \"application/pdf\",\n\t\t\t\t\"description\": \"Receivables\",\n\t\t\t\t\"eventDescription\": \"Invoices\",\n\t\t\t\t\"eventDate\": 1633975335,\n\t\t\t\t\"service\": \"Web\"\n\t\t\t}\n\t\t]\n\t},\n\t\"error\": null\n}"},{"id":"294ce25d-46e6-45fd-816f-a94f291c46d5","name":"Error","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"Search files that match the phrase","key":"searchPhrase","value":"Vacation"},{"description":"The page of search results","key":"page","value":"1"},{"description":"The number of results to return per page","key":"perPage","value":"10"},{"description":"The sort field to order results by","key":"sortField","value":"modified"},{"description":"The sort direction, ascending, or descending","key":"sortDirection","value":"ASC"}]},"url":"https://partner.fileshadow.com/partner/files"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"a85a56ca-f026-431c-be28-c57a7ffedde2"},{"name":"Download a file","id":"ba977973-d9aa-4d7f-ab5e-2c1df0928eed","request":{"method":"GET","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User token>"}],"url":"https://partner.fileshadow.com/partner/download?fileId=307291858674","description":"<p>Download a file from the FileShadow servers.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","download"],"host":["https://partner.fileshadow.com"],"query":[{"description":{"content":"<p>(Required) ID of the file</p>\n","type":"text/plain"},"key":"fileId","value":"307291858674"}],"variable":[]}},"response":[{"id":"a6679f34-517c-45ad-8787-c21f28dd4a22","name":"The file download","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"url":{"raw":"https://partner.fileshadow.com/partner/download?fileId=307291858674","host":["https://partner.fileshadow.com"],"path":["partner","download"],"query":[{"key":"fileId","value":"307291858674"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream"}],"cookie":[],"responseTime":null,"body":"<Image binary data>"},{"id":"8aadf599-0888-4f44-b010-8fa7a6d55433","name":"Error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"url":{"raw":"https://partner.fileshadow.com/partner/download?fileId=307291858674","host":["https://partner.fileshadow.com"],"path":["partner","download"],"query":[{"key":"fileId","value":"307291858674"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"ba977973-d9aa-4d7f-ab5e-2c1df0928eed"},{"name":"Get a download link","id":"015d0e32-b219-470c-a293-30081c7949f9","request":{"method":"GET","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User Token>"}],"url":"https://partner.fileshadow.com/partner/link?fileId=1234567&shareId=12345678&expires=1964-12-10&embargo=2008-05-25&active=1","description":"<p>Generate and return a download link for a file which can be shared with others. Once generated, the download link can be shared with others needing to download the file.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","link"],"host":["https://partner.fileshadow.com"],"query":[{"description":{"content":"<p>(Required) ID of the file</p>\n","type":"text/plain"},"key":"fileId","value":"1234567"},{"description":{"content":"<p>Provide an existing share ID to modify an existing link</p>\n","type":"text/plain"},"key":"shareId","value":"12345678"},{"description":{"content":"<p>The expiration date of the link. After the expiration date, the link will no longer work.</p>\n","type":"text/plain"},"key":"expires","value":"1964-12-10"},{"description":{"content":"<p>The go-live date of the link. Before the embargo date, the link will not work.</p>\n","type":"text/plain"},"key":"embargo","value":"2008-05-25"},{"description":{"content":"<p>Whether the link is active or not. All links must be active to be used. This is a toggle, having a value of either '1' for active, or '0' for inactive. Please note, that this doesn't override expires and embargo. As an example, a link that is active, must also be within the embargo and expires date ranges (if specified) to return the file. Any inactive link will fail to download the file.</p>\n","type":"text/plain"},"key":"active","value":"1"}],"variable":[]}},"response":[{"id":"790334fb-565b-47f7-b897-b083cdea3499","name":"Download link was issued","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User Token>"}],"url":{"raw":"https://partner.fileshadow.com/partner/link?fileId=1234567&shareId=12345678&expires=1964-12-10&embargo=2008-05-25&active=1","host":["https://partner.fileshadow.com"],"path":["partner","link"],"query":[{"key":"fileId","value":"1234567"},{"key":"shareId","value":"12345678"},{"key":"expires","value":"1964-12-10"},{"key":"embargo","value":"2008-05-25"},{"key":"active","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"payload\": {\n\t\t\"link\": \"partner.fileshadow.com/download/abc/123/1234/file.png\"\n\t},\n\t\"error\": null\n}"},{"id":"7c9c1d4d-f10b-44b6-a2a6-d9904653aedf","name":"Error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User Token>"}],"url":{"raw":"https://partner.fileshadow.com/partner/link?fileId=1234567&shareId=12345678&expires=1964-12-10&embargo=2008-05-25&active=1","host":["https://partner.fileshadow.com"],"path":["partner","link"],"query":[{"key":"fileId","value":"1234567"},{"key":"shareId","value":"12345678"},{"key":"expires","value":"1964-12-10"},{"key":"embargo","value":"2008-05-25"},{"key":"active","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"015d0e32-b219-470c-a293-30081c7949f9"},{"name":"Download a thumbnail","id":"de83ca04-af7f-4aea-a001-04061f0b9d19","request":{"method":"GET","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User token>"}],"url":"https://partner.fileshadow.com/partner/thumbnail?fileId=307291858674","description":"<p>Download a thumbnail image for a given file.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","thumbnail"],"host":["https://partner.fileshadow.com"],"query":[{"description":{"content":"<p>(Required) ID of the file</p>\n","type":"text/plain"},"key":"fileId","value":"307291858674"}],"variable":[]}},"response":[{"id":"9eff02ae-f718-4d44-883a-3f97159573ba","name":"Thumbnail of the requested file","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"url":{"raw":"https://partner.fileshadow.com/partner/thumbnail?fileId=307291858674","host":["https://partner.fileshadow.com"],"path":["partner","thumbnail"],"query":[{"key":"fileId","value":"307291858674"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream"}],"cookie":[],"responseTime":null,"body":"in pariatur"},{"id":"3c9fe236-9b8a-40e7-ac5b-d78ec7ab8a65","name":"Error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"url":{"raw":"https://partner.fileshadow.com/partner/thumbnail?fileId=307291858674","host":["https://partner.fileshadow.com"],"path":["partner","thumbnail"],"query":[{"key":"fileId","value":"307291858674"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"de83ca04-af7f-4aea-a001-04061f0b9d19"},{"name":"Delete a file","id":"1aa20546-70fc-43e0-92dc-b0aefbf7cd09","request":{"method":"POST","header":[{"description":"<p>(Required) Token of the user</p>\n","key":"usertoken","value":"<User token>"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"fileId","value":"1234567","description":"<p>(Required) ID of the file to delete</p>\n"}]},"url":"https://partner.fileshadow.com/partner/deleteFile","description":"<p>Delete a file permanently from FileShadow. You must provide the user token who owns the file, as well as the file ID. Once deleted, the file will not be able to be referenced via any shared links.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}},"urlObject":{"path":["partner","deleteFile"],"host":["https://partner.fileshadow.com"],"query":[],"variable":[]}},"response":[{"id":"c6c5c4dc-a80b-4e4f-b9e2-00f895033b8c","name":"File was deleted","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) ID of the file to delete","key":"fileId","value":"1234567"}]},"url":"https://partner.fileshadow.com/partner/deleteFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"success\": true,\n\t\"payload\": {\n\t\t\"fileId\": 1234567\n\t},\n\t\"error\": null\n}"},{"id":"3d375eb2-1f19-46e1-8534-0ddc415037d6","name":"Error","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-app-id","value":"<API Key>"},{"description":"(Required) Token of the user","key":"usertoken","value":"<User token>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) ID of the file to delete","key":"fileId","value":"1234567"}]},"url":"https://partner.fileshadow.com/partner/deleteFile"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n\t\"code\": -53224761,\n\t\"message\": \"ut voluptate quis irure\"\n}"}],"_postman_id":"1aa20546-70fc-43e0-92dc-b0aefbf7cd09"}],"id":"e363c026-0ea4-4a0e-9c44-f04f5d8956a4","_postman_id":"e363c026-0ea4-4a0e-9c44-f04f5d8956a4","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","id":"469c6d5d-f384-4ad3-8d2f-7d2fc8e08778","name":"FileShadow Partner API v1.0","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-app-id"},{"key":"value","value":"<value>"}]}},"variable":[{"id":"cb9ef033-e797-4cbf-8a7f-645b39d06f33","key":"baseUrl","value":"https://partner.fileshadow.com","type":"string"}]}