curl --request PATCH \
--url https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"daily_limit_check_connections": 50,
"daily_limit_check_inbox": 50,
"daily_limit_check_sent_invitations": 50,
"daily_limit_company_employees_view": 25,
"daily_limit_company_profile_view": 100,
"daily_limit_connection_request": 100,
"daily_limit_follow": 100,
"daily_limit_like_post": 100,
"daily_limit_profile_view": 250,
"daily_limit_read_conversation": 250,
"daily_limit_send_message": 250,
"daily_limit_withdraw": 100,
"min_action_interval_seconds": 1830,
"weekly_connection_request_cap": 500,
"weekly_limit_check_connections": 350,
"weekly_limit_check_inbox": 350,
"weekly_limit_check_sent_invitations": 350,
"weekly_limit_company_employees_view": 175,
"weekly_limit_company_profile_view": 700,
"weekly_limit_follow": 700,
"weekly_limit_like_post": 700,
"weekly_limit_profile_view": 1750,
"weekly_limit_read_conversation": 1750,
"weekly_limit_send_message": 1750,
"weekly_limit_withdraw": 700
}
'import requests
url = "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/"
payload = {
"daily_limit_check_connections": 50,
"daily_limit_check_inbox": 50,
"daily_limit_check_sent_invitations": 50,
"daily_limit_company_employees_view": 25,
"daily_limit_company_profile_view": 100,
"daily_limit_connection_request": 100,
"daily_limit_follow": 100,
"daily_limit_like_post": 100,
"daily_limit_profile_view": 250,
"daily_limit_read_conversation": 250,
"daily_limit_send_message": 250,
"daily_limit_withdraw": 100,
"min_action_interval_seconds": 1830,
"weekly_connection_request_cap": 500,
"weekly_limit_check_connections": 350,
"weekly_limit_check_inbox": 350,
"weekly_limit_check_sent_invitations": 350,
"weekly_limit_company_employees_view": 175,
"weekly_limit_company_profile_view": 700,
"weekly_limit_follow": 700,
"weekly_limit_like_post": 700,
"weekly_limit_profile_view": 1750,
"weekly_limit_read_conversation": 1750,
"weekly_limit_send_message": 1750,
"weekly_limit_withdraw": 700
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
daily_limit_check_connections: 50,
daily_limit_check_inbox: 50,
daily_limit_check_sent_invitations: 50,
daily_limit_company_employees_view: 25,
daily_limit_company_profile_view: 100,
daily_limit_connection_request: 100,
daily_limit_follow: 100,
daily_limit_like_post: 100,
daily_limit_profile_view: 250,
daily_limit_read_conversation: 250,
daily_limit_send_message: 250,
daily_limit_withdraw: 100,
min_action_interval_seconds: 1830,
weekly_connection_request_cap: 500,
weekly_limit_check_connections: 350,
weekly_limit_check_inbox: 350,
weekly_limit_check_sent_invitations: 350,
weekly_limit_company_employees_view: 175,
weekly_limit_company_profile_view: 700,
weekly_limit_follow: 700,
weekly_limit_like_post: 700,
weekly_limit_profile_view: 1750,
weekly_limit_read_conversation: 1750,
weekly_limit_send_message: 1750,
weekly_limit_withdraw: 700
})
};
fetch('https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/', 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/settings/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'daily_limit_check_connections' => 50,
'daily_limit_check_inbox' => 50,
'daily_limit_check_sent_invitations' => 50,
'daily_limit_company_employees_view' => 25,
'daily_limit_company_profile_view' => 100,
'daily_limit_connection_request' => 100,
'daily_limit_follow' => 100,
'daily_limit_like_post' => 100,
'daily_limit_profile_view' => 250,
'daily_limit_read_conversation' => 250,
'daily_limit_send_message' => 250,
'daily_limit_withdraw' => 100,
'min_action_interval_seconds' => 1830,
'weekly_connection_request_cap' => 500,
'weekly_limit_check_connections' => 350,
'weekly_limit_check_inbox' => 350,
'weekly_limit_check_sent_invitations' => 350,
'weekly_limit_company_employees_view' => 175,
'weekly_limit_company_profile_view' => 700,
'weekly_limit_follow' => 700,
'weekly_limit_like_post' => 700,
'weekly_limit_profile_view' => 1750,
'weekly_limit_read_conversation' => 1750,
'weekly_limit_send_message' => 1750,
'weekly_limit_withdraw' => 700
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/"
payload := strings.NewReader("{\n \"daily_limit_check_connections\": 50,\n \"daily_limit_check_inbox\": 50,\n \"daily_limit_check_sent_invitations\": 50,\n \"daily_limit_company_employees_view\": 25,\n \"daily_limit_company_profile_view\": 100,\n \"daily_limit_connection_request\": 100,\n \"daily_limit_follow\": 100,\n \"daily_limit_like_post\": 100,\n \"daily_limit_profile_view\": 250,\n \"daily_limit_read_conversation\": 250,\n \"daily_limit_send_message\": 250,\n \"daily_limit_withdraw\": 100,\n \"min_action_interval_seconds\": 1830,\n \"weekly_connection_request_cap\": 500,\n \"weekly_limit_check_connections\": 350,\n \"weekly_limit_check_inbox\": 350,\n \"weekly_limit_check_sent_invitations\": 350,\n \"weekly_limit_company_employees_view\": 175,\n \"weekly_limit_company_profile_view\": 700,\n \"weekly_limit_follow\": 700,\n \"weekly_limit_like_post\": 700,\n \"weekly_limit_profile_view\": 1750,\n \"weekly_limit_read_conversation\": 1750,\n \"weekly_limit_send_message\": 1750,\n \"weekly_limit_withdraw\": 700\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.patch("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"daily_limit_check_connections\": 50,\n \"daily_limit_check_inbox\": 50,\n \"daily_limit_check_sent_invitations\": 50,\n \"daily_limit_company_employees_view\": 25,\n \"daily_limit_company_profile_view\": 100,\n \"daily_limit_connection_request\": 100,\n \"daily_limit_follow\": 100,\n \"daily_limit_like_post\": 100,\n \"daily_limit_profile_view\": 250,\n \"daily_limit_read_conversation\": 250,\n \"daily_limit_send_message\": 250,\n \"daily_limit_withdraw\": 100,\n \"min_action_interval_seconds\": 1830,\n \"weekly_connection_request_cap\": 500,\n \"weekly_limit_check_connections\": 350,\n \"weekly_limit_check_inbox\": 350,\n \"weekly_limit_check_sent_invitations\": 350,\n \"weekly_limit_company_employees_view\": 175,\n \"weekly_limit_company_profile_view\": 700,\n \"weekly_limit_follow\": 700,\n \"weekly_limit_like_post\": 700,\n \"weekly_limit_profile_view\": 1750,\n \"weekly_limit_read_conversation\": 1750,\n \"weekly_limit_send_message\": 1750,\n \"weekly_limit_withdraw\": 700\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"daily_limit_check_connections\": 50,\n \"daily_limit_check_inbox\": 50,\n \"daily_limit_check_sent_invitations\": 50,\n \"daily_limit_company_employees_view\": 25,\n \"daily_limit_company_profile_view\": 100,\n \"daily_limit_connection_request\": 100,\n \"daily_limit_follow\": 100,\n \"daily_limit_like_post\": 100,\n \"daily_limit_profile_view\": 250,\n \"daily_limit_read_conversation\": 250,\n \"daily_limit_send_message\": 250,\n \"daily_limit_withdraw\": 100,\n \"min_action_interval_seconds\": 1830,\n \"weekly_connection_request_cap\": 500,\n \"weekly_limit_check_connections\": 350,\n \"weekly_limit_check_inbox\": 350,\n \"weekly_limit_check_sent_invitations\": 350,\n \"weekly_limit_company_employees_view\": 175,\n \"weekly_limit_company_profile_view\": 700,\n \"weekly_limit_follow\": 700,\n \"weekly_limit_like_post\": 700,\n \"weekly_limit_profile_view\": 1750,\n \"weekly_limit_read_conversation\": 1750,\n \"weekly_limit_send_message\": 1750,\n \"weekly_limit_withdraw\": 700\n}"
response = http.request(request)
puts response.read_body{
"checkpoint_status": "ok",
"created_at": "2023-11-07T05:31:56Z",
"daily_limit_check_connections": 123,
"daily_limit_check_inbox": 123,
"daily_limit_check_sent_invitations": 123,
"daily_limit_company_employees_view": 123,
"daily_limit_company_profile_view": 123,
"daily_limit_connection_request": 123,
"daily_limit_follow": 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>",
"effective_run_mode": "manual",
"headline": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_seen_at": "2023-11-07T05:31:56Z",
"limit_maximums": {
"daily_limit_check_connections": 123,
"daily_limit_check_inbox": 123,
"daily_limit_check_sent_invitations": 123,
"daily_limit_company_employees_view": 123,
"daily_limit_company_profile_view": 123,
"daily_limit_connection_request": 123,
"daily_limit_follow": 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,
"weekly_connection_request_cap": 123,
"weekly_limit_check_connections": 123,
"weekly_limit_check_inbox": 123,
"weekly_limit_check_sent_invitations": 123,
"weekly_limit_company_employees_view": 123,
"weekly_limit_company_profile_view": 123,
"weekly_limit_follow": 123,
"weekly_limit_like_post": 123,
"weekly_limit_profile_view": 123,
"weekly_limit_read_conversation": 123,
"weekly_limit_send_message": 123,
"weekly_limit_withdraw": 123
},
"member_urn": "<string>",
"min_action_interval_seconds": 123,
"online": true,
"photo_url": "<string>",
"presence": "active",
"run_mode": "manual",
"sender_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"updated_at": "2023-11-07T05:31:56Z",
"vanity_name": "<string>",
"weekly_connection_request_cap": 123,
"approvals_waiting": 0,
"connection_checks": {
"awaiting": 123,
"gaps": [
{
"ended_at": "2023-11-07T05:31:56Z",
"problem": "no_overlap",
"started_at": "2023-11-07T05:31:56Z"
}
],
"last_checked_at": "2023-11-07T05:31:56Z",
"next_check_at": "2023-11-07T05:31:56Z",
"problem": "extension_outdated",
"supported": true,
"watched_since": "2023-11-07T05:31:56Z"
},
"connection_token": "<string>",
"limit_at_zero_count": 0,
"queued_count": 0,
"replies_check": {
"failing": true,
"last_read_at": "2023-11-07T05:31:56Z",
"holding": false
},
"sessions": [
{
"browser_label": "<string>",
"connected_at": "2023-11-07T05:31:56Z",
"extension_version": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_seen_at": "2023-11-07T05:31:56Z",
"presence": "active",
"held_back_by": "signed_out",
"held_back_since": "2023-11-07T05:31:56Z",
"stalled_since": "2023-11-07T05:31:56Z"
}
],
"usage": [],
"usage_resets_at": "2023-11-07T05:31:56Z",
"wait": {
"next_at": "2023-11-07T05:31:56Z",
"reason": "not_connected",
"resets_at": "2023-11-07T05:31:56Z"
},
"weekly_limit_check_connections": 123,
"weekly_limit_check_inbox": 123,
"weekly_limit_check_sent_invitations": 123,
"weekly_limit_company_employees_view": 123,
"weekly_limit_company_profile_view": 123,
"weekly_limit_follow": 123,
"weekly_limit_like_post": 123,
"weekly_limit_profile_view": 123,
"weekly_limit_read_conversation": 123,
"weekly_limit_send_message": 123,
"weekly_limit_withdraw": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Update LinkedIn safety settings
Sets the per-kind daily ceilings, the rolling weekly ones (null clears a kind’s weekly limit; connection requests always keep one), the least time between two steps (min_action_interval_seconds, 60 to 3,600 seconds) and the sender’s approval setting (run_mode): whether a person approves each LinkedIn step on Tasks before it is queued. Switching it to manual takes back the steps queued without asking that no browser has started; switching it to auto queues the ones only this setting held. The time between steps belongs to the LinkedIn account, not to a sequence: it holds across every sequence the account sends for. These are the controls that keep a customer’s account out of trouble, so there is deliberately no way to disable the governor entirely, only to choose its numbers.
curl --request PATCH \
--url https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"daily_limit_check_connections": 50,
"daily_limit_check_inbox": 50,
"daily_limit_check_sent_invitations": 50,
"daily_limit_company_employees_view": 25,
"daily_limit_company_profile_view": 100,
"daily_limit_connection_request": 100,
"daily_limit_follow": 100,
"daily_limit_like_post": 100,
"daily_limit_profile_view": 250,
"daily_limit_read_conversation": 250,
"daily_limit_send_message": 250,
"daily_limit_withdraw": 100,
"min_action_interval_seconds": 1830,
"weekly_connection_request_cap": 500,
"weekly_limit_check_connections": 350,
"weekly_limit_check_inbox": 350,
"weekly_limit_check_sent_invitations": 350,
"weekly_limit_company_employees_view": 175,
"weekly_limit_company_profile_view": 700,
"weekly_limit_follow": 700,
"weekly_limit_like_post": 700,
"weekly_limit_profile_view": 1750,
"weekly_limit_read_conversation": 1750,
"weekly_limit_send_message": 1750,
"weekly_limit_withdraw": 700
}
'import requests
url = "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/"
payload = {
"daily_limit_check_connections": 50,
"daily_limit_check_inbox": 50,
"daily_limit_check_sent_invitations": 50,
"daily_limit_company_employees_view": 25,
"daily_limit_company_profile_view": 100,
"daily_limit_connection_request": 100,
"daily_limit_follow": 100,
"daily_limit_like_post": 100,
"daily_limit_profile_view": 250,
"daily_limit_read_conversation": 250,
"daily_limit_send_message": 250,
"daily_limit_withdraw": 100,
"min_action_interval_seconds": 1830,
"weekly_connection_request_cap": 500,
"weekly_limit_check_connections": 350,
"weekly_limit_check_inbox": 350,
"weekly_limit_check_sent_invitations": 350,
"weekly_limit_company_employees_view": 175,
"weekly_limit_company_profile_view": 700,
"weekly_limit_follow": 700,
"weekly_limit_like_post": 700,
"weekly_limit_profile_view": 1750,
"weekly_limit_read_conversation": 1750,
"weekly_limit_send_message": 1750,
"weekly_limit_withdraw": 700
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
daily_limit_check_connections: 50,
daily_limit_check_inbox: 50,
daily_limit_check_sent_invitations: 50,
daily_limit_company_employees_view: 25,
daily_limit_company_profile_view: 100,
daily_limit_connection_request: 100,
daily_limit_follow: 100,
daily_limit_like_post: 100,
daily_limit_profile_view: 250,
daily_limit_read_conversation: 250,
daily_limit_send_message: 250,
daily_limit_withdraw: 100,
min_action_interval_seconds: 1830,
weekly_connection_request_cap: 500,
weekly_limit_check_connections: 350,
weekly_limit_check_inbox: 350,
weekly_limit_check_sent_invitations: 350,
weekly_limit_company_employees_view: 175,
weekly_limit_company_profile_view: 700,
weekly_limit_follow: 700,
weekly_limit_like_post: 700,
weekly_limit_profile_view: 1750,
weekly_limit_read_conversation: 1750,
weekly_limit_send_message: 1750,
weekly_limit_withdraw: 700
})
};
fetch('https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/', 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/settings/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'daily_limit_check_connections' => 50,
'daily_limit_check_inbox' => 50,
'daily_limit_check_sent_invitations' => 50,
'daily_limit_company_employees_view' => 25,
'daily_limit_company_profile_view' => 100,
'daily_limit_connection_request' => 100,
'daily_limit_follow' => 100,
'daily_limit_like_post' => 100,
'daily_limit_profile_view' => 250,
'daily_limit_read_conversation' => 250,
'daily_limit_send_message' => 250,
'daily_limit_withdraw' => 100,
'min_action_interval_seconds' => 1830,
'weekly_connection_request_cap' => 500,
'weekly_limit_check_connections' => 350,
'weekly_limit_check_inbox' => 350,
'weekly_limit_check_sent_invitations' => 350,
'weekly_limit_company_employees_view' => 175,
'weekly_limit_company_profile_view' => 700,
'weekly_limit_follow' => 700,
'weekly_limit_like_post' => 700,
'weekly_limit_profile_view' => 1750,
'weekly_limit_read_conversation' => 1750,
'weekly_limit_send_message' => 1750,
'weekly_limit_withdraw' => 700
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/"
payload := strings.NewReader("{\n \"daily_limit_check_connections\": 50,\n \"daily_limit_check_inbox\": 50,\n \"daily_limit_check_sent_invitations\": 50,\n \"daily_limit_company_employees_view\": 25,\n \"daily_limit_company_profile_view\": 100,\n \"daily_limit_connection_request\": 100,\n \"daily_limit_follow\": 100,\n \"daily_limit_like_post\": 100,\n \"daily_limit_profile_view\": 250,\n \"daily_limit_read_conversation\": 250,\n \"daily_limit_send_message\": 250,\n \"daily_limit_withdraw\": 100,\n \"min_action_interval_seconds\": 1830,\n \"weekly_connection_request_cap\": 500,\n \"weekly_limit_check_connections\": 350,\n \"weekly_limit_check_inbox\": 350,\n \"weekly_limit_check_sent_invitations\": 350,\n \"weekly_limit_company_employees_view\": 175,\n \"weekly_limit_company_profile_view\": 700,\n \"weekly_limit_follow\": 700,\n \"weekly_limit_like_post\": 700,\n \"weekly_limit_profile_view\": 1750,\n \"weekly_limit_read_conversation\": 1750,\n \"weekly_limit_send_message\": 1750,\n \"weekly_limit_withdraw\": 700\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.patch("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"daily_limit_check_connections\": 50,\n \"daily_limit_check_inbox\": 50,\n \"daily_limit_check_sent_invitations\": 50,\n \"daily_limit_company_employees_view\": 25,\n \"daily_limit_company_profile_view\": 100,\n \"daily_limit_connection_request\": 100,\n \"daily_limit_follow\": 100,\n \"daily_limit_like_post\": 100,\n \"daily_limit_profile_view\": 250,\n \"daily_limit_read_conversation\": 250,\n \"daily_limit_send_message\": 250,\n \"daily_limit_withdraw\": 100,\n \"min_action_interval_seconds\": 1830,\n \"weekly_connection_request_cap\": 500,\n \"weekly_limit_check_connections\": 350,\n \"weekly_limit_check_inbox\": 350,\n \"weekly_limit_check_sent_invitations\": 350,\n \"weekly_limit_company_employees_view\": 175,\n \"weekly_limit_company_profile_view\": 700,\n \"weekly_limit_follow\": 700,\n \"weekly_limit_like_post\": 700,\n \"weekly_limit_profile_view\": 1750,\n \"weekly_limit_read_conversation\": 1750,\n \"weekly_limit_send_message\": 1750,\n \"weekly_limit_withdraw\": 700\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/settings/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"daily_limit_check_connections\": 50,\n \"daily_limit_check_inbox\": 50,\n \"daily_limit_check_sent_invitations\": 50,\n \"daily_limit_company_employees_view\": 25,\n \"daily_limit_company_profile_view\": 100,\n \"daily_limit_connection_request\": 100,\n \"daily_limit_follow\": 100,\n \"daily_limit_like_post\": 100,\n \"daily_limit_profile_view\": 250,\n \"daily_limit_read_conversation\": 250,\n \"daily_limit_send_message\": 250,\n \"daily_limit_withdraw\": 100,\n \"min_action_interval_seconds\": 1830,\n \"weekly_connection_request_cap\": 500,\n \"weekly_limit_check_connections\": 350,\n \"weekly_limit_check_inbox\": 350,\n \"weekly_limit_check_sent_invitations\": 350,\n \"weekly_limit_company_employees_view\": 175,\n \"weekly_limit_company_profile_view\": 700,\n \"weekly_limit_follow\": 700,\n \"weekly_limit_like_post\": 700,\n \"weekly_limit_profile_view\": 1750,\n \"weekly_limit_read_conversation\": 1750,\n \"weekly_limit_send_message\": 1750,\n \"weekly_limit_withdraw\": 700\n}"
response = http.request(request)
puts response.read_body{
"checkpoint_status": "ok",
"created_at": "2023-11-07T05:31:56Z",
"daily_limit_check_connections": 123,
"daily_limit_check_inbox": 123,
"daily_limit_check_sent_invitations": 123,
"daily_limit_company_employees_view": 123,
"daily_limit_company_profile_view": 123,
"daily_limit_connection_request": 123,
"daily_limit_follow": 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>",
"effective_run_mode": "manual",
"headline": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_seen_at": "2023-11-07T05:31:56Z",
"limit_maximums": {
"daily_limit_check_connections": 123,
"daily_limit_check_inbox": 123,
"daily_limit_check_sent_invitations": 123,
"daily_limit_company_employees_view": 123,
"daily_limit_company_profile_view": 123,
"daily_limit_connection_request": 123,
"daily_limit_follow": 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,
"weekly_connection_request_cap": 123,
"weekly_limit_check_connections": 123,
"weekly_limit_check_inbox": 123,
"weekly_limit_check_sent_invitations": 123,
"weekly_limit_company_employees_view": 123,
"weekly_limit_company_profile_view": 123,
"weekly_limit_follow": 123,
"weekly_limit_like_post": 123,
"weekly_limit_profile_view": 123,
"weekly_limit_read_conversation": 123,
"weekly_limit_send_message": 123,
"weekly_limit_withdraw": 123
},
"member_urn": "<string>",
"min_action_interval_seconds": 123,
"online": true,
"photo_url": "<string>",
"presence": "active",
"run_mode": "manual",
"sender_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"updated_at": "2023-11-07T05:31:56Z",
"vanity_name": "<string>",
"weekly_connection_request_cap": 123,
"approvals_waiting": 0,
"connection_checks": {
"awaiting": 123,
"gaps": [
{
"ended_at": "2023-11-07T05:31:56Z",
"problem": "no_overlap",
"started_at": "2023-11-07T05:31:56Z"
}
],
"last_checked_at": "2023-11-07T05:31:56Z",
"next_check_at": "2023-11-07T05:31:56Z",
"problem": "extension_outdated",
"supported": true,
"watched_since": "2023-11-07T05:31:56Z"
},
"connection_token": "<string>",
"limit_at_zero_count": 0,
"queued_count": 0,
"replies_check": {
"failing": true,
"last_read_at": "2023-11-07T05:31:56Z",
"holding": false
},
"sessions": [
{
"browser_label": "<string>",
"connected_at": "2023-11-07T05:31:56Z",
"extension_version": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_seen_at": "2023-11-07T05:31:56Z",
"presence": "active",
"held_back_by": "signed_out",
"held_back_since": "2023-11-07T05:31:56Z",
"stalled_since": "2023-11-07T05:31:56Z"
}
],
"usage": [],
"usage_resets_at": "2023-11-07T05:31:56Z",
"wait": {
"next_at": "2023-11-07T05:31:56Z",
"reason": "not_connected",
"resets_at": "2023-11-07T05:31:56Z"
},
"weekly_limit_check_connections": 123,
"weekly_limit_check_inbox": 123,
"weekly_limit_check_sent_invitations": 123,
"weekly_limit_company_employees_view": 123,
"weekly_limit_company_profile_view": 123,
"weekly_limit_follow": 123,
"weekly_limit_like_post": 123,
"weekly_limit_profile_view": 123,
"weekly_limit_read_conversation": 123,
"weekly_limit_send_message": 123,
"weekly_limit_withdraw": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Body
Whether a person approves a sender's LinkedIn steps before they run, or they run on their own.
The sender's own LinkedIn setting, kept on the sender beside their email
modes so the approval queue reads one home for both. The absence of one
(SenderProfileDTO.linkedin_approval_mode is None) reads as MANUAL:
nothing runs on somebody's LinkedIn unattended until they have said so. The
approval queue still tells "never set" apart from "chose manual", which is
the level its settings surfaces name.
manual, auto Response
Successful Response
Was this page helpful?