DEVELOPER CENTER
...
User Connection
Get User Data
1 min
the oauth process exchanges some data with pathfix during the oauth process this data is accessible using this api the tokens are not shared tab request url https labs pathfix com api connection provider userdata name get user data 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 kind optional name oauthid type string description optional if you are providing the user id headerparameters bodydataparameters formdataparameters results languages id ffacw8ngtcctuabgtg50s code n t rows n t t pincstatus success n t t callid 9333921d 5175 4eed ab19 3c260d23fdsfdf n t t data n t t t property value n t t n t n language 200 id byrbegnodmaf6ynbyopwr code unauthorized language 401 selectedlanguageid ffacw8ngtcctuabgtg50s examples languages id 5jjntrl7q vfngqo6m5kj code curl request get n url https labs pathfix com api connection provider userdata n header accept application json language curl id ig5iosmmqsobqayujcpt3 code fetch https labs pathfix com api connection provider userdata n method get n headers n accept application json n n n then response n console log response ; n n catch err n console error err ; n ; language javascript id uo7z0o 5273hmoctddo40 code const fetch require node fetch ; n nlet url https labs pathfix com api connection provider userdata ; 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 xd9dlnlwy5ydg6hgf4gaq code import requests n nurl https labs pathfix com api connection provider userdata nheaders accept application json nresponse requests request get url headers headers nprint response text language python id djkit3rzu5kr6mkhtgocl code const fetch require node fetch ; n nlet url https labs pathfix com api connection provider userdata ; 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 5jjntrl7q vfngqo6m5kj description this api will give you access to all the virtual connections for a specific user n currentnewparameter label query parameter value queryparameters