curl --request POST \
--url https://api.linkedcamp.com/v2/linkedin_account_update \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"linkedAccountId": "<string>",
"limits": {
"view": 1,
"connect": 1,
"message": 1,
"inmails": 1,
"profileEngagement": 1,
"email": 1,
"follow": 1
},
"isPaused": true,
"warmup": true,
"birthday": true,
"birthdayContent": "<string>",
"anniversary": true,
"anniversaryContent": "<string>",
"role": true,
"roleContent": "<string>"
}
'import requests
url = "https://api.linkedcamp.com/v2/linkedin_account_update"
payload = {
"linkedAccountId": "<string>",
"limits": {
"view": 1,
"connect": 1,
"message": 1,
"inmails": 1,
"profileEngagement": 1,
"email": 1,
"follow": 1
},
"isPaused": True,
"warmup": True,
"birthday": True,
"birthdayContent": "<string>",
"anniversary": True,
"anniversaryContent": "<string>",
"role": True,
"roleContent": "<string>"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
linkedAccountId: '<string>',
limits: {
view: 1,
connect: 1,
message: 1,
inmails: 1,
profileEngagement: 1,
email: 1,
follow: 1
},
isPaused: true,
warmup: true,
birthday: true,
birthdayContent: '<string>',
anniversary: true,
anniversaryContent: '<string>',
role: true,
roleContent: '<string>'
})
};
fetch('https://api.linkedcamp.com/v2/linkedin_account_update', 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.linkedcamp.com/v2/linkedin_account_update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedAccountId' => '<string>',
'limits' => [
'view' => 1,
'connect' => 1,
'message' => 1,
'inmails' => 1,
'profileEngagement' => 1,
'email' => 1,
'follow' => 1
],
'isPaused' => true,
'warmup' => true,
'birthday' => true,
'birthdayContent' => '<string>',
'anniversary' => true,
'anniversaryContent' => '<string>',
'role' => true,
'roleContent' => '<string>'
]),
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.linkedcamp.com/v2/linkedin_account_update"
payload := strings.NewReader("{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.linkedcamp.com/v2/linkedin_account_update")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkedcamp.com/v2/linkedin_account_update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyusing RestSharp;
var options = new RestClientOptions("https://api.linkedcamp.com/v2/linkedin_account_update");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("X-Api-Key", "<api-key>");
request.AddJsonBody("{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}Update LinkedIn account settings
Write. It changes data in your account.
Change the safety limits and automation settings on a LinkedIn account: daily caps per action, pause/resume, warm-up, and the birthday / work-anniversary / role-change auto-congratulation messages. Raising daily limits raises LinkedIn restriction risk — leave limits alone unless the user asked for a specific number, and check linkedin_account_daily_stats first. Scope is the account, so pausing here stops every campaign that sends from it — to stop one campaign use campaign_set_status with PAUSED, and to stop one lead use lead_update. It cannot connect or disconnect an account, fix an invalid session (linkedin_account_refresh), or decide which campaign uses it (campaign_update).
curl --request POST \
--url https://api.linkedcamp.com/v2/linkedin_account_update \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"linkedAccountId": "<string>",
"limits": {
"view": 1,
"connect": 1,
"message": 1,
"inmails": 1,
"profileEngagement": 1,
"email": 1,
"follow": 1
},
"isPaused": true,
"warmup": true,
"birthday": true,
"birthdayContent": "<string>",
"anniversary": true,
"anniversaryContent": "<string>",
"role": true,
"roleContent": "<string>"
}
'import requests
url = "https://api.linkedcamp.com/v2/linkedin_account_update"
payload = {
"linkedAccountId": "<string>",
"limits": {
"view": 1,
"connect": 1,
"message": 1,
"inmails": 1,
"profileEngagement": 1,
"email": 1,
"follow": 1
},
"isPaused": True,
"warmup": True,
"birthday": True,
"birthdayContent": "<string>",
"anniversary": True,
"anniversaryContent": "<string>",
"role": True,
"roleContent": "<string>"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
linkedAccountId: '<string>',
limits: {
view: 1,
connect: 1,
message: 1,
inmails: 1,
profileEngagement: 1,
email: 1,
follow: 1
},
isPaused: true,
warmup: true,
birthday: true,
birthdayContent: '<string>',
anniversary: true,
anniversaryContent: '<string>',
role: true,
roleContent: '<string>'
})
};
fetch('https://api.linkedcamp.com/v2/linkedin_account_update', 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.linkedcamp.com/v2/linkedin_account_update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedAccountId' => '<string>',
'limits' => [
'view' => 1,
'connect' => 1,
'message' => 1,
'inmails' => 1,
'profileEngagement' => 1,
'email' => 1,
'follow' => 1
],
'isPaused' => true,
'warmup' => true,
'birthday' => true,
'birthdayContent' => '<string>',
'anniversary' => true,
'anniversaryContent' => '<string>',
'role' => true,
'roleContent' => '<string>'
]),
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.linkedcamp.com/v2/linkedin_account_update"
payload := strings.NewReader("{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.linkedcamp.com/v2/linkedin_account_update")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkedcamp.com/v2/linkedin_account_update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyusing RestSharp;
var options = new RestClientOptions("https://api.linkedcamp.com/v2/linkedin_account_update");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("X-Api-Key", "<api-key>");
request.AddJsonBody("{\n \"linkedAccountId\": \"<string>\",\n \"limits\": {\n \"view\": 1,\n \"connect\": 1,\n \"message\": 1,\n \"inmails\": 1,\n \"profileEngagement\": 1,\n \"email\": 1,\n \"follow\": 1\n },\n \"isPaused\": true,\n \"warmup\": true,\n \"birthday\": true,\n \"birthdayContent\": \"<string>\",\n \"anniversary\": true,\n \"anniversaryContent\": \"<string>\",\n \"role\": true,\n \"roleContent\": \"<string>\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "<string>",
"hint": "<string>"
}
}Body
Response
The result, as JSON. Writes answer { "ok": true, "message": ..., "data": ... }.
The response is of type object.
