List all Integration's Accounts
curl --request GET \
--url https://api.captaindata.co/v3/integrations/{integration_uid}/accounts \
--header 'Authorization: <api-key>' \
--header 'x-project-id: <api-key>'import requests
url = "https://api.captaindata.co/v3/integrations/{integration_uid}/accounts"
headers = {
"Authorization": "<api-key>",
"x-project-id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<api-key>', 'x-project-id': '<api-key>'}
};
fetch('https://api.captaindata.co/v3/integrations/{integration_uid}/accounts', 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://api.captaindata.co/v3/integrations/{integration_uid}/accounts",
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: <api-key>",
"x-project-id: <api-key>"
],
]);
$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://api.captaindata.co/v3/integrations/{integration_uid}/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("x-project-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.captaindata.co/v3/integrations/{integration_uid}/accounts")
.header("Authorization", "<api-key>")
.header("x-project-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.captaindata.co/v3/integrations/{integration_uid}/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
request["x-project-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"integration": {
"uid": "xxxxxxxx",
"title": "LinkedIn"
},
"accounts": [
{
"setup_at": "2024-11-26T15:12:17.652585",
"name": "User Name",
"cookies": {
"JSESSIONID": "Session ID cookie for LinkedIn",
"li_at": "li_at cookie for LinkedIn",
"li_a": "li_a cookie for Sales Navigator"
},
"is_valid": true,
"uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"application_permalink": "linkedin",
"application_name": "LinkedIn",
"via_extension": true,
"is_shared": false,
"level": "Sales Navigator",
"limits": [
{
"permalink": "lk-classic-connection-requests",
"level": "Classic",
"item_scraped": 0,
"limit_value": 25,
"limit_name": "connection requests",
"start_time_range": "2024-11-25T15:29:36",
"end_time_range": "2024-11-26T15:29:36",
"templates": [
"xxxxx-xxxx-xxxx-a7f2-f571d8ff2f2d"
],
"nbr_inputs_queued_next_seven_days": 0
}
]
}
],
"next_page_exist": true,
"number_total_acounts": 11
}{
"detail": [
"<unknown>"
]
}Integrations
List all Integration's Accounts
GET
/
v3
/
integrations
/
{integration_uid}
/
accounts
List all Integration's Accounts
curl --request GET \
--url https://api.captaindata.co/v3/integrations/{integration_uid}/accounts \
--header 'Authorization: <api-key>' \
--header 'x-project-id: <api-key>'import requests
url = "https://api.captaindata.co/v3/integrations/{integration_uid}/accounts"
headers = {
"Authorization": "<api-key>",
"x-project-id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<api-key>', 'x-project-id': '<api-key>'}
};
fetch('https://api.captaindata.co/v3/integrations/{integration_uid}/accounts', 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://api.captaindata.co/v3/integrations/{integration_uid}/accounts",
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: <api-key>",
"x-project-id: <api-key>"
],
]);
$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://api.captaindata.co/v3/integrations/{integration_uid}/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("x-project-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.captaindata.co/v3/integrations/{integration_uid}/accounts")
.header("Authorization", "<api-key>")
.header("x-project-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.captaindata.co/v3/integrations/{integration_uid}/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
request["x-project-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"integration": {
"uid": "xxxxxxxx",
"title": "LinkedIn"
},
"accounts": [
{
"setup_at": "2024-11-26T15:12:17.652585",
"name": "User Name",
"cookies": {
"JSESSIONID": "Session ID cookie for LinkedIn",
"li_at": "li_at cookie for LinkedIn",
"li_a": "li_a cookie for Sales Navigator"
},
"is_valid": true,
"uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"application_permalink": "linkedin",
"application_name": "LinkedIn",
"via_extension": true,
"is_shared": false,
"level": "Sales Navigator",
"limits": [
{
"permalink": "lk-classic-connection-requests",
"level": "Classic",
"item_scraped": 0,
"limit_value": 25,
"limit_name": "connection requests",
"start_time_range": "2024-11-25T15:29:36",
"end_time_range": "2024-11-26T15:29:36",
"templates": [
"xxxxx-xxxx-xxxx-a7f2-f571d8ff2f2d"
],
"nbr_inputs_queued_next_seven_days": 0
}
]
}
],
"next_page_exist": true,
"number_total_acounts": 11
}{
"detail": [
"<unknown>"
]
}Authorizations
Path Parameters
Query Parameters
Response
Successful Response