{ "opencollection": "1.0.0", "info": { "name": "dotloop Public API v2 Account Documents API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.dotloop.com/oauth/authorize", "accessTokenUrl": "https://auth.dotloop.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Documents", "type": "folder" }, "items": [ { "info": { "name": "List documents.", "type": "http" }, "http": { "method": "GET", "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/folder/:folder_id/document", "params": [ { "name": "profile_id", "value": "", "type": "path" }, { "name": "loop_id", "value": "", "type": "path" }, { "name": "folder_id", "value": "", "type": "path" } ] }, "docs": "Lists the documents within a loop folder (scope loop:read)." }, { "info": { "name": "Upload a document.", "type": "http" }, "http": { "method": "POST", "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/folder/:folder_id/document", "params": [ { "name": "profile_id", "value": "", "type": "path" }, { "name": "loop_id", "value": "", "type": "path" }, { "name": "folder_id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] } }, "docs": "Uploads a new document into a loop folder using multipart form-data (scope loop:write)." }, { "info": { "name": "Get a document.", "type": "http" }, "http": { "method": "GET", "url": "https://api-gateway.dotloop.com/public/v2/profile/:profile_id/loop/:loop_id/folder/:folder_id/document/:document_id", "params": [ { "name": "profile_id", "value": "", "type": "path" }, { "name": "loop_id", "value": "", "type": "path" }, { "name": "folder_id", "value": "", "type": "path" }, { "name": "document_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a single document within a loop folder; can be downloaded as a PDF (scope loop:read)." } ] } ], "bundled": true }