List your lists
curl --request GET \
--url https://app.introlink.ai/v1/lists \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.introlink.ai/v1/lists"
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/lists', 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/lists",
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/lists"
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/lists")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/lists")
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",
"total": 2,
"data": [
{
"id": "0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90",
"name": "Q1 finance leaders",
"kind": "people",
"members": 14,
"url": "https://app.introlink.ai/lists/0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90"
},
{
"id": "5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f",
"name": "Seed funds",
"kind": "companies",
"members": 12,
"url": "https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f"
}
],
"text": "You have 2 lists, most recently changed first: Q1 finance leaders (14 people), Seed funds (12 companies)."
}{
"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": "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": "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."
}
}Lists
List your lists
The key creator’s lists of people and companies, most recently changed first.
GET
/
lists
List your lists
curl --request GET \
--url https://app.introlink.ai/v1/lists \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.introlink.ai/v1/lists"
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/lists', 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/lists",
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/lists"
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/lists")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/lists")
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",
"total": 2,
"data": [
{
"id": "0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90",
"name": "Q1 finance leaders",
"kind": "people",
"members": 14,
"url": "https://app.introlink.ai/lists/0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90"
},
{
"id": "5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f",
"name": "Seed funds",
"kind": "companies",
"members": 12,
"url": "https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f"
}
],
"text": "You have 2 lists, most recently changed first: Q1 finance leaders (14 people), Seed funds (12 companies)."
}{
"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": "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": "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."
}
}