Update LinkedIn account smart limit
curl --request PATCH \
--url https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Team-SID: <api-key>' \
--data '
{
"daily_limit": 500,
"target_limit": 500,
"learning_enabled": true,
"delay_in_seconds": 1800,
"reset_hold": true
}
'import requests
url = "https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}"
payload = {
"daily_limit": 500,
"target_limit": 500,
"learning_enabled": True,
"delay_in_seconds": 1800,
"reset_hold": True
}
headers = {
"Authorization": "Bearer <token>",
"Team-SID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'Team-SID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
daily_limit: 500,
target_limit: 500,
learning_enabled: true,
delay_in_seconds: 1800,
reset_hold: true
})
};
fetch('https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}', 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.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}",
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' => 500,
'target_limit' => 500,
'learning_enabled' => true,
'delay_in_seconds' => 1800,
'reset_hold' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Team-SID: <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://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}"
payload := strings.NewReader("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"learning_enabled\": true,\n \"delay_in_seconds\": 1800,\n \"reset_hold\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Team-SID", "<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://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"learning_enabled\": true,\n \"delay_in_seconds\": 1800,\n \"reset_hold\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Team-SID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"learning_enabled\": true,\n \"delay_in_seconds\": 1800,\n \"reset_hold\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "update",
"item": {
"sid": "<string>",
"team_sid": "<string>",
"linkedin_account_sid": "<string>",
"limit_type": "send_connection_requests",
"daily_limit": 123,
"smart_limit": 123,
"target_limit": 123,
"learned_ceiling": 123,
"learned_ceiling_source": "probe",
"learned_ceiling_updated_at": "<string>",
"clean_saturation_streak": 1,
"probe_not_before": "<string>",
"learning_enabled": true,
"recommended_daily_limit": 123,
"recommended_delay_in_seconds": 123,
"risk_level": "none",
"delay_in_seconds": 123,
"done_today_count": 123,
"last_reset_at": "<string>",
"status": "active",
"hold_till": "<string>",
"linkedin_quota_hit_till": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"done_7d_count": 123
},
"updated_fields": [
"<string>"
],
"previous_values": {},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}linkedin_account_smart_limits
Update LinkedIn account smart limit
GATE: on a governed account (smart_limits_enabled true, the default) daily_limit / delay_in_seconds belong to the warmup; moving either is 409 smart_limits_governed: never promise a raised cap there. target_limit only BOUNDS (the row follows min(smart_limit, target_limit)): a target above the warmup ceiling changes nothing today; a young or dormant account sits at 1..2 for weeks (see warmup_breakdown). The other way: set_linkedin_account_smart_limits({enabled:false}), said out loud as removing ban protection. One row (daily_limit / target_limit / delay_in_seconds / learning_enabled; one field OR reset_hold:true). Switch off: nothing refused; read the row's recommended_* first, 2x (or half the delay) is "elevated", beyond that "ban_likely", warn so. A spent budget is "held": raising daily_limit alone does not clear it, pass reset_hold:true too; it resumes once the cap exceeds done_today_count (governed rows re-hold at once). System fields are rejected; a LinkedIn lock is not resettable.
Contract:
- MCP tool `update_linkedin_account_smart_limit`, registry package `mcp.linkedin/linkedin_account_smart_limits`, mount `linkedin.accounts`.
- Operation `update`, response envelope `update`.
- Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
PATCH
/
api
/
linkedin-account-smart-limits
/
{sid}
Update LinkedIn account smart limit
curl --request PATCH \
--url https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Team-SID: <api-key>' \
--data '
{
"daily_limit": 500,
"target_limit": 500,
"learning_enabled": true,
"delay_in_seconds": 1800,
"reset_hold": true
}
'import requests
url = "https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}"
payload = {
"daily_limit": 500,
"target_limit": 500,
"learning_enabled": True,
"delay_in_seconds": 1800,
"reset_hold": True
}
headers = {
"Authorization": "Bearer <token>",
"Team-SID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'Team-SID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
daily_limit: 500,
target_limit: 500,
learning_enabled: true,
delay_in_seconds: 1800,
reset_hold: true
})
};
fetch('https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}', 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.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}",
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' => 500,
'target_limit' => 500,
'learning_enabled' => true,
'delay_in_seconds' => 1800,
'reset_hold' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Team-SID: <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://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}"
payload := strings.NewReader("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"learning_enabled\": true,\n \"delay_in_seconds\": 1800,\n \"reset_hold\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Team-SID", "<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://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"learning_enabled\": true,\n \"delay_in_seconds\": 1800,\n \"reset_hold\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gtm-api.com/linkedin/v4/api/linkedin-account-smart-limits/{sid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Team-SID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"learning_enabled\": true,\n \"delay_in_seconds\": 1800,\n \"reset_hold\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "update",
"item": {
"sid": "<string>",
"team_sid": "<string>",
"linkedin_account_sid": "<string>",
"limit_type": "send_connection_requests",
"daily_limit": 123,
"smart_limit": 123,
"target_limit": 123,
"learned_ceiling": 123,
"learned_ceiling_source": "probe",
"learned_ceiling_updated_at": "<string>",
"clean_saturation_streak": 1,
"probe_not_before": "<string>",
"learning_enabled": true,
"recommended_daily_limit": 123,
"recommended_delay_in_seconds": 123,
"risk_level": "none",
"delay_in_seconds": 123,
"done_today_count": 123,
"last_reset_at": "<string>",
"status": "active",
"hold_till": "<string>",
"linkedin_quota_hit_till": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"done_7d_count": 123
},
"updated_fields": [
"<string>"
],
"previous_values": {},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}Authorizations
Path Parameters
Body
application/json
Request body of update_linkedin_account_smart_limit.