Update a sender profile LinkedIn cap
curl --request PATCH \
--url https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Team-SID: <api-key>' \
--data '
{
"daily_limit": 500,
"target_limit": 500,
"delay_in_seconds": 1800,
"learning_enabled": true,
"reset_hold": true,
"smart_limits_enabled": true
}
'import requests
url = "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}"
payload = {
"daily_limit": 500,
"target_limit": 500,
"delay_in_seconds": 1800,
"learning_enabled": True,
"reset_hold": True,
"smart_limits_enabled": 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,
delay_in_seconds: 1800,
learning_enabled: true,
reset_hold: true,
smart_limits_enabled: true
})
};
fetch('https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}', 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://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}",
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,
'delay_in_seconds' => 1800,
'learning_enabled' => true,
'reset_hold' => true,
'smart_limits_enabled' => 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://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}"
payload := strings.NewReader("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"delay_in_seconds\": 1800,\n \"learning_enabled\": true,\n \"reset_hold\": true,\n \"smart_limits_enabled\": 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://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"delay_in_seconds\": 1800,\n \"learning_enabled\": true,\n \"reset_hold\": true,\n \"smart_limits_enabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}")
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 \"delay_in_seconds\": 1800,\n \"learning_enabled\": true,\n \"reset_hold\": true,\n \"smart_limits_enabled\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "action",
"action": "<string>",
"item": {},
"result": {
"limit": {},
"linkedin": [
{}
],
"smart_limits_enabled": true
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}sender_profiles
Update a sender profile LinkedIn cap
Edit one LinkedIn cap row (smart_limit_sid from read_sender_profile_limits): cap, target, delay, learning switch, reset_hold; with smart_limits_enabled, flip the account’s automatic caps on or off (every bucket). Applies from the next action, clamped to the plan; the answer carries the row, every row of the account and the switch. 403 gtm_scope_missing; 409 smart_limits_governed, limit_row_gone, gtm_refused; 429 gtm_busy; 503 gtm_unavailable; 422 limit_over_plan_cap, limit_out_of_range.
Contract:
- MCP tool
update_sender_profile_linkedin_limit, registry packagemcp.unibox/sender_profiles, mountsender-profiles. - Operation
action, response envelopeaction. - Flags: none.
PATCH
/
api
/
sender-profiles
/
{sid}
/
limits
/
linkedin
/
{smartLimitSid}
Update a sender profile LinkedIn cap
curl --request PATCH \
--url https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Team-SID: <api-key>' \
--data '
{
"daily_limit": 500,
"target_limit": 500,
"delay_in_seconds": 1800,
"learning_enabled": true,
"reset_hold": true,
"smart_limits_enabled": true
}
'import requests
url = "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}"
payload = {
"daily_limit": 500,
"target_limit": 500,
"delay_in_seconds": 1800,
"learning_enabled": True,
"reset_hold": True,
"smart_limits_enabled": 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,
delay_in_seconds: 1800,
learning_enabled: true,
reset_hold: true,
smart_limits_enabled: true
})
};
fetch('https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}', 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://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}",
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,
'delay_in_seconds' => 1800,
'learning_enabled' => true,
'reset_hold' => true,
'smart_limits_enabled' => 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://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}"
payload := strings.NewReader("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"delay_in_seconds\": 1800,\n \"learning_enabled\": true,\n \"reset_hold\": true,\n \"smart_limits_enabled\": 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://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"daily_limit\": 500,\n \"target_limit\": 500,\n \"delay_in_seconds\": 1800,\n \"learning_enabled\": true,\n \"reset_hold\": true,\n \"smart_limits_enabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/limits/linkedin/{smartLimitSid}")
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 \"delay_in_seconds\": 1800,\n \"learning_enabled\": true,\n \"reset_hold\": true,\n \"smart_limits_enabled\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "action",
"action": "<string>",
"item": {},
"result": {
"limit": {},
"linkedin": [
{}
],
"smart_limits_enabled": true
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"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_sender_profile_linkedin_limit.
Response
action success envelope.