List who a connector is close to
curl --request GET \
--url https://app.introlink.ai/v1/people/{id}/close-to \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.introlink.ai/v1/people/{id}/close-to"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.introlink.ai/v1/people/{id}/close-to', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.introlink.ai/v1/people/{id}/close-to",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.introlink.ai/v1/people/{id}/close-to"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.introlink.ai/v1/people/{id}/close-to")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/people/{id}/close-to")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"person": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes",
"url": "https://app.introlink.ai/open?person=p_8TzKq2LmW9xRv4NbHc7YsE"
},
"data": [
{
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"headline": "VP Finance at Kestrel Logistics",
"url": "https://app.introlink.ai/open?person=p_Qm3vT8yLkR2nWx7HbJ4dPa",
"strength": "high",
"score": 57,
"why": "Worked together at Brightwater, 2018 to 2021",
"warmth": null,
"text": "Priya Raman, VP Finance at Kestrel Logistics. High, 57: Worked together at Brightwater, 2018 to 2021."
}
],
"text": "Who Daniel Reyes seems closest to, from 38 people at Medium or better in their LinkedIn network. 1. Priya Raman, High, 57."
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "invalid_key",
"message": "That API key is not valid. It may have been revoked: create a new one in IntroLink, under Settings, API."
}
}{
"error": {
"type": "credits_required",
"message": "An API answer costs credits, and your workspace has none left. Buy a credit pack or move up a plan under Settings, Billing. Search, paths and drafted asks keep working.",
"balance": 0,
"needed": 1,
"billing_url": "https://app.introlink.ai/settings?tab=billing"
}
}{
"error": {
"type": "plan_required",
"message": "The API comes with Individual, Team and Business, and this workspace is on the Free trial. Pick a plan under Settings, Billing to use it."
}
}{
"error": {
"type": "not_found",
"message": "No person with that id in this key's network."
}
}{
"error": {
"type": "rate_limited",
"message": "Too many requests with this key. Wait a minute and try again."
}
}{
"error": {
"type": "server_error",
"message": "IntroLink could not answer that just now. Try again in a minute."
}
}Reach
List who a connector is close to
One of your connectors (someone whose LinkedIn network is in IntroLink), and the people in that network ranked by how close the connector seems to be to each: the same team or company at the same time, LinkedIn activity and recommendations, and your own mail and meetings. With me for the id, your OWN classmates and ex-colleagues instead, with how warm you are with each today. A guess from what is on record, not a fact. Someone who is not a connector gets an empty list and a text that says so.
Costs the key’s workspace 1 credit for each person or company the answer returns (X-IntroLink-Credits-Charged says how many). With too few credits left it answers 402 and charges nothing.
GET
/
people
/
{id}
/
close-to
List who a connector is close to
curl --request GET \
--url https://app.introlink.ai/v1/people/{id}/close-to \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.introlink.ai/v1/people/{id}/close-to"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.introlink.ai/v1/people/{id}/close-to', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.introlink.ai/v1/people/{id}/close-to",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.introlink.ai/v1/people/{id}/close-to"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.introlink.ai/v1/people/{id}/close-to")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/people/{id}/close-to")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"person": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes",
"url": "https://app.introlink.ai/open?person=p_8TzKq2LmW9xRv4NbHc7YsE"
},
"data": [
{
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"headline": "VP Finance at Kestrel Logistics",
"url": "https://app.introlink.ai/open?person=p_Qm3vT8yLkR2nWx7HbJ4dPa",
"strength": "high",
"score": 57,
"why": "Worked together at Brightwater, 2018 to 2021",
"warmth": null,
"text": "Priya Raman, VP Finance at Kestrel Logistics. High, 57: Worked together at Brightwater, 2018 to 2021."
}
],
"text": "Who Daniel Reyes seems closest to, from 38 people at Medium or better in their LinkedIn network. 1. Priya Raman, High, 57."
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "invalid_key",
"message": "That API key is not valid. It may have been revoked: create a new one in IntroLink, under Settings, API."
}
}{
"error": {
"type": "credits_required",
"message": "An API answer costs credits, and your workspace has none left. Buy a credit pack or move up a plan under Settings, Billing. Search, paths and drafted asks keep working.",
"balance": 0,
"needed": 1,
"billing_url": "https://app.introlink.ai/settings?tab=billing"
}
}{
"error": {
"type": "plan_required",
"message": "The API comes with Individual, Team and Business, and this workspace is on the Free trial. Pick a plan under Settings, Billing to use it."
}
}{
"error": {
"type": "not_found",
"message": "No person with that id in this key's network."
}
}{
"error": {
"type": "rate_limited",
"message": "Too many requests with this key. Wait a minute and try again."
}
}{
"error": {
"type": "server_error",
"message": "IntroLink could not answer that just now. Try again in a minute."
}
}