API Documentation for ShareDocView

Sharedocview.com
sharedocview
Published in
2 min readMay 22, 2022

Actual endpoints

GET app.sharedocview.com/oauth2

POST app.sharedocview.com/oauth2/token

POST app.sharedocview.com/secure

GET app.sharedocview.com/secure/leads

Define output

{
“id”: “61e6eb31346b780dc2d8507f”,
“name”: null,
“email”: null
}

Source Definition for v1.0.0

{ “version”: “1.0.0”, “platformVersion”: “12.0.3”, “authentication”: { “type”: “oauth2”, “test”: { “url”: “https://app.sharedocview.com/secure", “method”: “GET”, “params”: {}, “headers”: { “Authorization”: “Bearer {{bundle.authData.access_token}}”, “Host”: “app.sharedocview.com”, “Content-Type”: “application/json”, “Accept”: “application/json” }, “body”: {}, “removeMissingValuesFrom”: {} }, “oauth2Config”: { “authorizeUrl”: { “method”: “GET”, “url”: “https://app.sharedocview.com/oauth2”, “params”: { “client_id”: “{{process.env.CLIENT_ID}}”, “state": “{{bundle.inputData.state}}”, “redirect_uri”: “{{bundle.inputData.redirect_uri}}”, “response_type”: “code” } }, “getAccessToken”: { “url”: “https://app.sharedocview.com/oauth2/token”, “method": “POST”, “params”: {}, “headers”: { “content-type”: “application/x-www-form-urlencoded”, “accept”: “application/json”, “authorization”: “Basic Y29tLnphcGllci5zaGFyZWRvY3ZpZXc6WmFwJkNsMWVuNw==” }, “body”: { “code”: “{{bundle.inputData.code}}”, “grant_type”: “authorization_code”, “redirect_uri”: “{{bundle.inputData.redirect_uri}}” }, “removeMissingValuesFrom”: {} }, “refreshAccessToken”: { “url”: “”, “method”: “POST”, “params”: {}, “headers”: { “content-type”: “application/x-www-form-urlencoded”, “accept”: “application/json” }, “body”: { “refresh_token”: “{{bundle.authData.refresh_token}}”, “grant_type”: “refresh_token” }, “removeMissingValuesFrom”: {} } }, “connectionLabel”: “{{bundle.inputData.email}}” }, “flags”: { “skipThrowForStatus”: true }, “triggers”: { “get_leads”: { “operation”: { “perform”: { “url”: “https://app.sharedocview.com/secure/leads”, “method”: “GET”, “params”: {}, “headers”: { “Accept”: “application/json”, “Authorization”: “Bearer {{bundle.authData.access_token}}” }, “body”: {}, “removeMissingValuesFrom”: {} }, “sample”: { “id”: “61e6eb31346b780dc2d8507f”, “name”: null, “email”: null }, “outputFields”: [ { “key”: “id”, “label”: “ID” }, { “key”: “name”, “label”: “Lead Name” }, { “key”: “email”, “label”: “Lead Email” } ] }, “key”: “get_leads”, “noun”: “Lead”, “display”: { “label”: “Get Leads”, “description”: “Triggers when a new email lead is created.”, “hidden”: false, “important”: true } } }, “creates”: {} }

--

--

Sharedocview.com
sharedocview

Share Docs with Links Know Who Viewed, Which Docs, When and for How Long!