List asks
curl --request GET \
--url https://app.introlink.ai/v1/asks \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.introlink.ai/v1/asks"
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/asks', 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/asks",
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/asks"
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/asks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/asks")
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",
"filter": "waiting_on_you",
"total": 1,
"data": [
{
"id": "1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"person": {
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"role": "VP Finance, Kestrel Logistics"
},
"via": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes"
},
"stage": "sent",
"stage_label": "Sent",
"headline": "No reply",
"step": 1,
"bucket": "waiting",
"waiting_on": "you",
"reminder_due": true,
"closed_reason": null,
"next_step": {
"label": "Send a nudge",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13&followup=nudge"
},
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"text": "Priya Raman, asked Daniel Reyes: No reply. Sent 6 days ago. Waiting on you: a nudge is due."
}
],
"text": "1 ask waiting on you: Priya Raman, asked Daniel Reyes: No reply. A nudge is due."
}{
"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."
}
}Asks
List asks
The asks the key creator has drafted or sent, newest first, as their Asks page lists them: drafts, waiting on the connector, in motion (the connector replied, the intro was made, a meeting was set) and closed, each with its next step. Read from their own Gmail and calendar by IntroLink. Asks about, or through, someone they keep private are left out, and so are the opt-ins and intros of intro requests (GET /requests).
GET
/
asks
List asks
curl --request GET \
--url https://app.introlink.ai/v1/asks \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.introlink.ai/v1/asks"
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/asks', 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/asks",
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/asks"
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/asks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/asks")
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",
"filter": "waiting_on_you",
"total": 1,
"data": [
{
"id": "1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"person": {
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"role": "VP Finance, Kestrel Logistics"
},
"via": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes"
},
"stage": "sent",
"stage_label": "Sent",
"headline": "No reply",
"step": 1,
"bucket": "waiting",
"waiting_on": "you",
"reminder_due": true,
"closed_reason": null,
"next_step": {
"label": "Send a nudge",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13&followup=nudge"
},
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"text": "Priya Raman, asked Daniel Reyes: No reply. Sent 6 days ago. Waiting on you: a nudge is due."
}
],
"text": "1 ask waiting on you: Priya Raman, asked Daniel Reyes: No reply. A nudge is due."
}{
"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."
}
}