DEVELOPER CENTER
...
User Connection
Get Connection Status
1 min
gets the connection status for a given user id { "tab" "request", "url" "https //labs pathfix com/api/connection/{{provider}}", "name" "get connection status", "method" "get", "request" { "pathparameters" \[ { "kind" "required", "name" "provider", "type" "string", "description" "internal name of the provider" } ], "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" "ubarkdx4rj5wvele xjqk", "code" "{\n \\"rows\\" \[\n {\n \\"pincstatus\\" \\"success\\",\n \\"callid\\" \\"9a90bcf9 1e06 4564 87c1 76352fe5a0fc\\",\n \\"data\\" {\n \\"connected\\" \\"yes/no\\"\n }\n }\n ]\n}", "language" "200" }, { "id" "j3hy 4ypd45ww 5b azcb", "code" "{\n \\"message\\" \\"ain't no cake like that \\"\n}", "language" "404" } ], "selectedlanguageid" "ubarkdx4rj5wvele xjqk" }, "examples" { "languages" \[ { "id" "tkhhi8pk3zlmtppmpuuzt", "code" "curl request get\n url https //labs pathfix com/api/connection/{{provider}} \n header 'accept application/json'", "language" "curl" }, { "id" "uzulrkuurigmrvtu0jzgc", "code" "const fetch = require('node fetch');\n\nlet url = 'https //labs pathfix com/api/connection/{{provider}}';\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" " rh7dadoefd43gsgvm9dz", "code" "import requests\n\nurl = \\"https //labs pathfix com/api/connection/{{provider}}\\"\nheaders = {\\"accept\\" \\"application/json\\"}\nresponse = requests request(\\"get\\", url, headers=headers)\nprint(response text)", "language" "python" }, { "id" "qkj9buo1ubcoslxhzdqzf", "code" "const fetch = require('node fetch');\n\nlet url = 'https //labs pathfix com/api/connection/{{provider}}';\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" "tkhhi8pk3zlmtppmpuuzt" }, "description" "get a platform user's connection, and authorization url to a provider\n", "currentnewparameter" { "label" "path parameter", "value" "pathparameters" } }