curl --request POST \
--url https://app.introlink.ai/v1/connectors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"group": "Investors",
"people": [
"p_Cl4rAsM1thQ2wX9rT5vNbE",
"p_Zt8NwB3cXq5Lm2RkV9pHdu",
{
"person": "p_Le3WnGp7KdR2sV8xB4mQya",
"group": "Advisors"
}
]
}
'import requests
url = "https://app.introlink.ai/v1/connectors"
payload = {
"group": "Investors",
"people": [
"p_Cl4rAsM1thQ2wX9rT5vNbE",
"p_Zt8NwB3cXq5Lm2RkV9pHdu",
{
"person": "p_Le3WnGp7KdR2sV8xB4mQya",
"group": "Advisors"
}
]
}
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({
group: 'Investors',
people: [
'p_Cl4rAsM1thQ2wX9rT5vNbE',
'p_Zt8NwB3cXq5Lm2RkV9pHdu',
{person: 'p_Le3WnGp7KdR2sV8xB4mQya', group: 'Advisors'}
]
})
};
fetch('https://app.introlink.ai/v1/connectors', 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/connectors",
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([
'group' => 'Investors',
'people' => [
'p_Cl4rAsM1thQ2wX9rT5vNbE',
'p_Zt8NwB3cXq5Lm2RkV9pHdu',
[
'person' => 'p_Le3WnGp7KdR2sV8xB4mQya',
'group' => 'Advisors'
]
]
]),
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/connectors"
payload := strings.NewReader("{\n \"group\": \"Investors\",\n \"people\": [\n \"p_Cl4rAsM1thQ2wX9rT5vNbE\",\n \"p_Zt8NwB3cXq5Lm2RkV9pHdu\",\n {\n \"person\": \"p_Le3WnGp7KdR2sV8xB4mQya\",\n \"group\": \"Advisors\"\n }\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/connectors")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"group\": \"Investors\",\n \"people\": [\n \"p_Cl4rAsM1thQ2wX9rT5vNbE\",\n \"p_Zt8NwB3cXq5Lm2RkV9pHdu\",\n {\n \"person\": \"p_Le3WnGp7KdR2sV8xB4mQya\",\n \"group\": \"Advisors\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/connectors")
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 \"group\": \"Investors\",\n \"people\": [\n \"p_Cl4rAsM1thQ2wX9rT5vNbE\",\n \"p_Zt8NwB3cXq5Lm2RkV9pHdu\",\n {\n \"person\": \"p_Le3WnGp7KdR2sV8xB4mQya\",\n \"group\": \"Advisors\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "connector_add",
"added": 2,
"data": [
{
"index": 0,
"id": "5be1c2d3-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"person": "p_Cl4rAsM1thQ2wX9rT5vNbE",
"name": "Clara Smith",
"group": "Investors",
"restored": false,
"url": "https://app.introlink.ai/open?person=p_Cl4rAsM1thQ2wX9rT5vNbE"
},
{
"index": 2,
"id": "0c7d8e9f-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
"person": "p_Le3WnGp7KdR2sV8xB4mQya",
"name": "Lee Wong",
"group": "Advisors",
"restored": true,
"url": "https://app.introlink.ai/open?person=p_Le3WnGp7KdR2sV8xB4mQya"
}
],
"skipped": [
{
"index": 1,
"person": "p_Zt8NwB3cXq5Lm2RkV9pHdu",
"why": "not one of your people"
}
],
"text": "Put 2 connectors on your roster: Clara Smith (Investors), Lee Wong (Advisors, back from earlier). Left 1 as they were."
}{
"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."
}
}Add connectors
Puts people on the key creator’s roster, as Add as connector on the People page does. Name each by a person id (p_…) from an earlier answer, a LinkedIn profile URL or an email address; each must be one of the creator’s own people, not a teammate’s and not someone they keep private. Give a group for everybody, or one beside each person. Someone already on the roster is left as they are; a connector taken off earlier with the same LinkedIn URL or email comes back (restored: true) rather than being added twice; a shared mailbox is refused. Everyone left as they were is in skipped, by their position in the request, with why. The same request twice adds nobody the second time. Sends nothing to anyone.
curl --request POST \
--url https://app.introlink.ai/v1/connectors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"group": "Investors",
"people": [
"p_Cl4rAsM1thQ2wX9rT5vNbE",
"p_Zt8NwB3cXq5Lm2RkV9pHdu",
{
"person": "p_Le3WnGp7KdR2sV8xB4mQya",
"group": "Advisors"
}
]
}
'import requests
url = "https://app.introlink.ai/v1/connectors"
payload = {
"group": "Investors",
"people": [
"p_Cl4rAsM1thQ2wX9rT5vNbE",
"p_Zt8NwB3cXq5Lm2RkV9pHdu",
{
"person": "p_Le3WnGp7KdR2sV8xB4mQya",
"group": "Advisors"
}
]
}
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({
group: 'Investors',
people: [
'p_Cl4rAsM1thQ2wX9rT5vNbE',
'p_Zt8NwB3cXq5Lm2RkV9pHdu',
{person: 'p_Le3WnGp7KdR2sV8xB4mQya', group: 'Advisors'}
]
})
};
fetch('https://app.introlink.ai/v1/connectors', 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/connectors",
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([
'group' => 'Investors',
'people' => [
'p_Cl4rAsM1thQ2wX9rT5vNbE',
'p_Zt8NwB3cXq5Lm2RkV9pHdu',
[
'person' => 'p_Le3WnGp7KdR2sV8xB4mQya',
'group' => 'Advisors'
]
]
]),
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/connectors"
payload := strings.NewReader("{\n \"group\": \"Investors\",\n \"people\": [\n \"p_Cl4rAsM1thQ2wX9rT5vNbE\",\n \"p_Zt8NwB3cXq5Lm2RkV9pHdu\",\n {\n \"person\": \"p_Le3WnGp7KdR2sV8xB4mQya\",\n \"group\": \"Advisors\"\n }\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/connectors")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"group\": \"Investors\",\n \"people\": [\n \"p_Cl4rAsM1thQ2wX9rT5vNbE\",\n \"p_Zt8NwB3cXq5Lm2RkV9pHdu\",\n {\n \"person\": \"p_Le3WnGp7KdR2sV8xB4mQya\",\n \"group\": \"Advisors\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/connectors")
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 \"group\": \"Investors\",\n \"people\": [\n \"p_Cl4rAsM1thQ2wX9rT5vNbE\",\n \"p_Zt8NwB3cXq5Lm2RkV9pHdu\",\n {\n \"person\": \"p_Le3WnGp7KdR2sV8xB4mQya\",\n \"group\": \"Advisors\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "connector_add",
"added": 2,
"data": [
{
"index": 0,
"id": "5be1c2d3-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"person": "p_Cl4rAsM1thQ2wX9rT5vNbE",
"name": "Clara Smith",
"group": "Investors",
"restored": false,
"url": "https://app.introlink.ai/open?person=p_Cl4rAsM1thQ2wX9rT5vNbE"
},
{
"index": 2,
"id": "0c7d8e9f-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
"person": "p_Le3WnGp7KdR2sV8xB4mQya",
"name": "Lee Wong",
"group": "Advisors",
"restored": true,
"url": "https://app.introlink.ai/open?person=p_Le3WnGp7KdR2sV8xB4mQya"
}
],
"skipped": [
{
"index": 1,
"person": "p_Zt8NwB3cXq5Lm2RkV9pHdu",
"why": "not one of your people"
}
],
"text": "Put 2 connectors on your roster: Clara Smith (Investors), Lee Wong (Advisors, back from earlier). Left 1 as they were."
}{
"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
Body
Who to put on the roster. Each a person id (p_…), a LinkedIn profile URL or an email address, or { "person", "group" } to give that one their own group. Everyone needs a group, from here or from group.
1 - 100 elements- string
- object
A person id (p_…), a LinkedIn profile URL or an email address.
Response
Who was put on the roster, and who was left as they were.