Read a sender's LinkedIn connection
curl --request GET \
--url https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/', 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.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/",
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://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/"
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://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/")
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{
"account": {
"checkpoint_status": "ok",
"created_at": "2023-11-07T05:31:56Z",
"daily_limit_check_inbox": 123,
"daily_limit_check_sent_invitations": 123,
"daily_limit_connection_request": 123,
"daily_limit_follow": 123,
"daily_limit_inmail": 123,
"daily_limit_like_post": 123,
"daily_limit_profile_view": 123,
"daily_limit_read_conversation": 123,
"daily_limit_send_message": 123,
"daily_limit_withdraw": 123,
"display_name": "<string>",
"extension_version": "<string>",
"headline": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_seen_at": "2023-11-07T05:31:56Z",
"member_urn": "<string>",
"online": true,
"paused": true,
"photo_url": "<string>",
"run_mode": "manual",
"sender_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"updated_at": "2023-11-07T05:31:56Z",
"vanity_name": "<string>",
"warmup_enabled": true,
"warmup_started_at": "2023-11-07T05:31:56Z",
"weekly_connection_request_cap": 123,
"queued_count": 0,
"usage": [],
"weekly_connection_requests_used": 0
},
"connected": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}linkedin
Read a sender's LinkedIn connection
Returns whether a LinkedIn account is connected to this sender, and if so its live state: whether the browser extension is currently online, today’s usage against each ceiling, and how much work is queued. Not-connected is a normal state rather than a 404 — it is what the install-the-extension prompt renders from.
GET
/
sender-profiles
/
{profile_id}
/
linkedin
/
Read a sender's LinkedIn connection
curl --request GET \
--url https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/', 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.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/",
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://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/"
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://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/")
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{
"account": {
"checkpoint_status": "ok",
"created_at": "2023-11-07T05:31:56Z",
"daily_limit_check_inbox": 123,
"daily_limit_check_sent_invitations": 123,
"daily_limit_connection_request": 123,
"daily_limit_follow": 123,
"daily_limit_inmail": 123,
"daily_limit_like_post": 123,
"daily_limit_profile_view": 123,
"daily_limit_read_conversation": 123,
"daily_limit_send_message": 123,
"daily_limit_withdraw": 123,
"display_name": "<string>",
"extension_version": "<string>",
"headline": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_seen_at": "2023-11-07T05:31:56Z",
"member_urn": "<string>",
"online": true,
"paused": true,
"photo_url": "<string>",
"run_mode": "manual",
"sender_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"updated_at": "2023-11-07T05:31:56Z",
"vanity_name": "<string>",
"warmup_enabled": true,
"warmup_started_at": "2023-11-07T05:31:56Z",
"weekly_connection_request_cap": 123,
"queued_count": 0,
"usage": [],
"weekly_connection_requests_used": 0
},
"connected": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
HTTPBearerAPIKeyHeader
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
The sender's LinkedIn state, connected or not.
A wrapper rather than a 404 on purpose: "no account yet" is the normal first render of this page, not an error, and it is the state that carries the install-the-extension call to action.
Was this page helpful?