Add people to a list
curl --request POST \
--url https://app.introlink.ai/v1/lists/{list}/people \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"people": [
"p_Qm3vT8yLkR2nWx7HbJ4dPa",
"p_Hc2RvM8sKd4Lw9QxN3tBya"
],
"create": false
}
'import requests
url = "https://app.introlink.ai/v1/lists/{list}/people"
payload = {
"people": ["p_Qm3vT8yLkR2nWx7HbJ4dPa", "p_Hc2RvM8sKd4Lw9QxN3tBya"],
"create": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
people: ['p_Qm3vT8yLkR2nWx7HbJ4dPa', 'p_Hc2RvM8sKd4Lw9QxN3tBya'],
create: false
})
};
fetch('https://app.introlink.ai/v1/lists/{list}/people', 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/{list}/people",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'people' => [
'p_Qm3vT8yLkR2nWx7HbJ4dPa',
'p_Hc2RvM8sKd4Lw9QxN3tBya'
],
'create' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.introlink.ai/v1/lists/{list}/people"
payload := strings.NewReader("{\n \"people\": [\n \"p_Qm3vT8yLkR2nWx7HbJ4dPa\",\n \"p_Hc2RvM8sKd4Lw9QxN3tBya\"\n ],\n \"create\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.introlink.ai/v1/lists/{list}/people")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"people\": [\n \"p_Qm3vT8yLkR2nWx7HbJ4dPa\",\n \"p_Hc2RvM8sKd4Lw9QxN3tBya\"\n ],\n \"create\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/lists/{list}/people")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"people\": [\n \"p_Qm3vT8yLkR2nWx7HbJ4dPa\",\n \"p_Hc2RvM8sKd4Lw9QxN3tBya\"\n ],\n \"create\": false\n}"
response = http.request(request)
puts response.read_body{
"object": "list_addition",
"list": {
"id": "0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90",
"name": "Q1 finance leaders",
"url": "https://app.introlink.ai/lists/0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90",
"created": false
},
"added": 2,
"data": [
{
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"url": "https://app.introlink.ai/open?person=p_Qm3vT8yLkR2nWx7HbJ4dPa"
},
{
"id": "p_Hc2RvM8sKd4Lw9QxN3tBya",
"name": "Tomas Lindqvist",
"url": "https://app.introlink.ai/open?person=p_Hc2RvM8sKd4Lw9QxN3tBya"
}
],
"not_found": [],
"text": "Added 2 people to \"Q1 finance leaders\": Priya Raman, Tomas Lindqvist."
}{
"error": {
"type": "invalid_request",
"message": "The body is not valid JSON."
}
}{
"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
Add people to a list
Adds people, by the person ids earlier answers carry, to one of the key creator’s lists of people. Someone already on the list is left as they are. With create: true, makes the list when there is none by that name. Sends nothing to anyone.
POST
/
lists
/
{list}
/
people
Add people to a list
curl --request POST \
--url https://app.introlink.ai/v1/lists/{list}/people \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"people": [
"p_Qm3vT8yLkR2nWx7HbJ4dPa",
"p_Hc2RvM8sKd4Lw9QxN3tBya"
],
"create": false
}
'import requests
url = "https://app.introlink.ai/v1/lists/{list}/people"
payload = {
"people": ["p_Qm3vT8yLkR2nWx7HbJ4dPa", "p_Hc2RvM8sKd4Lw9QxN3tBya"],
"create": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
people: ['p_Qm3vT8yLkR2nWx7HbJ4dPa', 'p_Hc2RvM8sKd4Lw9QxN3tBya'],
create: false
})
};
fetch('https://app.introlink.ai/v1/lists/{list}/people', 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/{list}/people",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'people' => [
'p_Qm3vT8yLkR2nWx7HbJ4dPa',
'p_Hc2RvM8sKd4Lw9QxN3tBya'
],
'create' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.introlink.ai/v1/lists/{list}/people"
payload := strings.NewReader("{\n \"people\": [\n \"p_Qm3vT8yLkR2nWx7HbJ4dPa\",\n \"p_Hc2RvM8sKd4Lw9QxN3tBya\"\n ],\n \"create\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.introlink.ai/v1/lists/{list}/people")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"people\": [\n \"p_Qm3vT8yLkR2nWx7HbJ4dPa\",\n \"p_Hc2RvM8sKd4Lw9QxN3tBya\"\n ],\n \"create\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/lists/{list}/people")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"people\": [\n \"p_Qm3vT8yLkR2nWx7HbJ4dPa\",\n \"p_Hc2RvM8sKd4Lw9QxN3tBya\"\n ],\n \"create\": false\n}"
response = http.request(request)
puts response.read_body{
"object": "list_addition",
"list": {
"id": "0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90",
"name": "Q1 finance leaders",
"url": "https://app.introlink.ai/lists/0b6f7a34-2c1e-4d8a-9f3b-6e2a1c5d7b90",
"created": false
},
"added": 2,
"data": [
{
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"url": "https://app.introlink.ai/open?person=p_Qm3vT8yLkR2nWx7HbJ4dPa"
},
{
"id": "p_Hc2RvM8sKd4Lw9QxN3tBya",
"name": "Tomas Lindqvist",
"url": "https://app.introlink.ai/open?person=p_Hc2RvM8sKd4Lw9QxN3tBya"
}
],
"not_found": [],
"text": "Added 2 people to \"Q1 finance leaders\": Priya Raman, Tomas Lindqvist."
}{
"error": {
"type": "invalid_request",
"message": "The body is not valid JSON."
}
}{
"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."
}
}Authorizations
Path Parameters
Body
application/json
Response
Who was added, and any ids IntroLink did not know.