List
1 min
Returns a list of providers that the user is connected to.
List User Connections
List all of a platform user's enabled connections to providers
GET
https://labs.pathfix.com/api/connection
Query Parameters
- user_idstringrequiredDescription
- public_keystringrequiredDescription
- private_keystringrequiredDescription
curl
curl --request GET
--url https://labs.pathfix.com/api/connection
--header 'Accept: application/json'nodejs
const fetch = require('node-fetch');
let url = 'https://labs.pathfix.com/api/connection';
let options = {
method: 'GET',
headers: {
Accept: 'application/json',
}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));python
import requests
url = "https://labs.pathfix.com/api/connection"
headers = {"Accept": "application/json"}
response = requests.request("GET", url, headers=headers)
print(response.text)ruby
const fetch = require('node-fetch');
let url = 'https://labs.pathfix.com/api/connection';
let options = {method: 'GET', headers: {Accept: 'application/json'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));200
{
"rows":[
{
"pincStatus":"success",
"callId":"9a90bcf9-1e06-4564-87c1-76352fe5a0fc",
"data":{
"authorizations":[{
"provider":"zendesk",
"user_id":"[user_id]"
}
]
}
}
]
}401
Unauthorized