DEVELOPER CENTER
...
User Connection
List
1 min
returns a list of providers that the user is connected to { "tab" "request", "url" "https //labs pathfix com/api/connection", "name" "list user connections", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[ { "kind" "required", "name" "user id", "type" "string", "description" "identifier of your currently logged in user" }, { "kind" "required", "name" "public key", "type" "string", "description" "your pathfix application's public key" }, { "kind" "required", "name" "private key", "type" "string", "description" "your pathfix application's private key" } ], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" " bhhpsilcjvcku umegek", "code" "{\n \\"rows\\" \[\n {\n \\"pincstatus\\" \\"success\\",\n \\"callid\\" \\"9a90bcf9 1e06 4564 87c1 76352fe5a0fc\\",\n \\"data\\" {\n \\"authorizations\\" \[{\n \\"provider\\" \\"zendesk\\",\n \\"user id\\" \\"\[user id]\\"\n }\n ]\n }\n }\n ]\n}", "language" "200" }, { "id" "aiftkh2h26w y7uwco1vy", "code" "unauthorized", "language" "401" } ], "selectedlanguageid" " bhhpsilcjvcku umegek" }, "examples" { "languages" \[ { "id" "gtbic2pojooxvtagovmoh", "code" "curl request get\n url https //labs pathfix com/api/connection \n header 'accept application/json'", "language" "curl" }, { "id" "wxffudrtswj50kkfgjr7g", "code" "const fetch = require('node fetch');\n\nlet url = 'https //labs pathfix com/api/connection';\nlet options = {\n method 'get', \nheaders {\n accept 'application/json',\n }\n};\nfetch(url, options)\n then(res => res json())\n then(json => console log(json))\n catch(err => console error('error ' + err));", "language" "nodejs" }, { "id" "o22umscxnzdnlhqor1eqv", "code" "import requests\n\nurl = \\"https //labs pathfix com/api/connection\\"\nheaders = {\\"accept\\" \\"application/json\\"}\nresponse = requests request(\\"get\\", url, headers=headers)\nprint(response text)", "language" "python" }, { "id" "vyb1psi4ibaoeniwgtyh4", "code" "const fetch = require('node fetch');\n\nlet url = 'https //labs pathfix com/api/connection';\nlet options = {method 'get', headers {accept 'application/json'}};\nfetch(url, options)\n then(res => res json())\n then(json => console log(json))\n catch(err => console error('error ' + err));", "language" "ruby" } ], "selectedlanguageid" "gtbic2pojooxvtagovmoh" }, "description" "list all of a platform user's enabled connections to providers\n", "currentnewparameter" { "label" "query parameter", "value" "queryparameters" } }