curl --request POST \
--url https://app.introlink.ai/v1/lists/{list}/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companies": [
"kestrel.com",
{
"name": "Harrow Capital",
"domain": "harrowcap.example",
"location": "London"
},
"brightwater"
]
}
'import requests
url = "https://app.introlink.ai/v1/lists/{list}/companies"
payload = { "companies": [
"kestrel.com",
{
"name": "Harrow Capital",
"domain": "harrowcap.example",
"location": "London"
},
"brightwater"
] }
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({
companies: [
'kestrel.com',
{name: 'Harrow Capital', domain: 'harrowcap.example', location: 'London'},
'brightwater'
]
})
};
fetch('https://app.introlink.ai/v1/lists/{list}/companies', 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}/companies",
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([
'companies' => [
'kestrel.com',
[
'name' => 'Harrow Capital',
'domain' => 'harrowcap.example',
'location' => 'London'
],
'brightwater'
]
]),
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}/companies"
payload := strings.NewReader("{\n \"companies\": [\n \"kestrel.com\",\n {\n \"name\": \"Harrow Capital\",\n \"domain\": \"harrowcap.example\",\n \"location\": \"London\"\n },\n \"brightwater\"\n ]\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}/companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"companies\": [\n \"kestrel.com\",\n {\n \"name\": \"Harrow Capital\",\n \"domain\": \"harrowcap.example\",\n \"location\": \"London\"\n },\n \"brightwater\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/lists/{list}/companies")
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 \"companies\": [\n \"kestrel.com\",\n {\n \"name\": \"Harrow Capital\",\n \"domain\": \"harrowcap.example\",\n \"location\": \"London\"\n },\n \"brightwater\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "company_addition",
"list": {
"id": "5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f",
"name": "Seed funds",
"kind": "companies",
"url": "https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f"
},
"added": 2,
"data": [
{
"id": "kestrellogistics",
"name": "Kestrel Logistics",
"domain": "kestrel.com",
"url": "https://app.introlink.ai/companies/kestrel.com",
"in_network": true
},
{
"id": "harrowcapital",
"name": "Harrow Capital",
"domain": "harrowcap.example",
"url": "https://app.introlink.ai/companies/harrowcap.example",
"in_network": false
}
],
"skipped": [
{
"id": "brightwater",
"why": "already on this list"
}
],
"text": "Added 2 companies to \"Seed funds\": Kestrel Logistics, Harrow Capital. One is a firm nobody in your network is at yet. Left out 1."
}{
"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": "not_found",
"message": "You have no list with that id or name."
}
}{
"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."
}
}Add companies to a list
Adds companies to one of the key creator’s lists of companies, as Add to list on a company page does: each is found in the creator’s network the way its company page finds it. A firm sent as { "name", "domain" } that nobody in the network is at is added as itself (in_network: false), as a partner’s tracker adds firms, under the same company id the network would give it, so it is never on a list twice. A domain or company id alone that the network doesn’t know, and a company already on the list, are left out and returned in skipped. Sends nothing to anyone.
curl --request POST \
--url https://app.introlink.ai/v1/lists/{list}/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companies": [
"kestrel.com",
{
"name": "Harrow Capital",
"domain": "harrowcap.example",
"location": "London"
},
"brightwater"
]
}
'import requests
url = "https://app.introlink.ai/v1/lists/{list}/companies"
payload = { "companies": [
"kestrel.com",
{
"name": "Harrow Capital",
"domain": "harrowcap.example",
"location": "London"
},
"brightwater"
] }
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({
companies: [
'kestrel.com',
{name: 'Harrow Capital', domain: 'harrowcap.example', location: 'London'},
'brightwater'
]
})
};
fetch('https://app.introlink.ai/v1/lists/{list}/companies', 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}/companies",
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([
'companies' => [
'kestrel.com',
[
'name' => 'Harrow Capital',
'domain' => 'harrowcap.example',
'location' => 'London'
],
'brightwater'
]
]),
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}/companies"
payload := strings.NewReader("{\n \"companies\": [\n \"kestrel.com\",\n {\n \"name\": \"Harrow Capital\",\n \"domain\": \"harrowcap.example\",\n \"location\": \"London\"\n },\n \"brightwater\"\n ]\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}/companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"companies\": [\n \"kestrel.com\",\n {\n \"name\": \"Harrow Capital\",\n \"domain\": \"harrowcap.example\",\n \"location\": \"London\"\n },\n \"brightwater\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/lists/{list}/companies")
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 \"companies\": [\n \"kestrel.com\",\n {\n \"name\": \"Harrow Capital\",\n \"domain\": \"harrowcap.example\",\n \"location\": \"London\"\n },\n \"brightwater\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "company_addition",
"list": {
"id": "5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f",
"name": "Seed funds",
"kind": "companies",
"url": "https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f"
},
"added": 2,
"data": [
{
"id": "kestrellogistics",
"name": "Kestrel Logistics",
"domain": "kestrel.com",
"url": "https://app.introlink.ai/companies/kestrel.com",
"in_network": true
},
{
"id": "harrowcapital",
"name": "Harrow Capital",
"domain": "harrowcap.example",
"url": "https://app.introlink.ai/companies/harrowcap.example",
"in_network": false
}
],
"skipped": [
{
"id": "brightwater",
"why": "already on this list"
}
],
"text": "Added 2 companies to \"Seed funds\": Kestrel Logistics, Harrow Capital. One is a firm nobody in your network is at yet. Left out 1."
}{
"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": "not_found",
"message": "You have no list with that id or name."
}
}{
"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
Each a web domain (kestrel.com; www. and subdomains are dropped), an IntroLink company id, or a firm by name: { "name", "domain", "location" }, with domain and location when you know them.
1 - 50 elements- string
- object
A web domain or an IntroLink company id.
Response
Which companies were added, and which were left out.