Update Agent Settings
curl --request PUT \
--url https://api.kakiyo.com/v1/agents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workingHours": {
"days": "1:1:1:1:1:0:0",
"start": "08:00",
"stop": "18:00"
},
"limits": {
"invitationsMin": 20,
"invitationsMax": 30,
"messagesMin": 100,
"messagesMax": 150
},
"settings": [
{
"key": "skipInNetwork",
"value": true
}
]
}
'import requests
url = "https://api.kakiyo.com/v1/agents/{id}"
payload = {
"workingHours": {
"days": "1:1:1:1:1:0:0",
"start": "08:00",
"stop": "18:00"
},
"limits": {
"invitationsMin": 20,
"invitationsMax": 30,
"messagesMin": 100,
"messagesMax": 150
},
"settings": [
{
"key": "skipInNetwork",
"value": True
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
workingHours: {days: '1:1:1:1:1:0:0', start: '08:00', stop: '18:00'},
limits: {invitationsMin: 20, invitationsMax: 30, messagesMin: 100, messagesMax: 150},
settings: [{key: 'skipInNetwork', value: true}]
})
};
fetch('https://api.kakiyo.com/v1/agents/{id}', 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.kakiyo.com/v1/agents/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'workingHours' => [
'days' => '1:1:1:1:1:0:0',
'start' => '08:00',
'stop' => '18:00'
],
'limits' => [
'invitationsMin' => 20,
'invitationsMax' => 30,
'messagesMin' => 100,
'messagesMax' => 150
],
'settings' => [
[
'key' => 'skipInNetwork',
'value' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.kakiyo.com/v1/agents/{id}"
payload := strings.NewReader("{\n \"workingHours\": {\n \"days\": \"1:1:1:1:1:0:0\",\n \"start\": \"08:00\",\n \"stop\": \"18:00\"\n },\n \"limits\": {\n \"invitationsMin\": 20,\n \"invitationsMax\": 30,\n \"messagesMin\": 100,\n \"messagesMax\": 150\n },\n \"settings\": [\n {\n \"key\": \"skipInNetwork\",\n \"value\": true\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.kakiyo.com/v1/agents/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"workingHours\": {\n \"days\": \"1:1:1:1:1:0:0\",\n \"start\": \"08:00\",\n \"stop\": \"18:00\"\n },\n \"limits\": {\n \"invitationsMin\": 20,\n \"invitationsMax\": 30,\n \"messagesMin\": 100,\n \"messagesMax\": 150\n },\n \"settings\": [\n {\n \"key\": \"skipInNetwork\",\n \"value\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kakiyo.com/v1/agents/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workingHours\": {\n \"days\": \"1:1:1:1:1:0:0\",\n \"start\": \"08:00\",\n \"stop\": \"18:00\"\n },\n \"limits\": {\n \"invitationsMin\": 20,\n \"invitationsMax\": 30,\n \"messagesMin\": 100,\n \"messagesMax\": 150\n },\n \"settings\": [\n {\n \"key\": \"skipInNetwork\",\n \"value\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "agent_12345abcde",
"message": "Agent settings updated successfully"
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}Agents
Update Agent Settings
Updates an agent’s working hours and scheduling settings. Changes are applied immediately and the scheduler is re-triggered if the agent is running.
PUT
/
agents
/
{id}
Update Agent Settings
curl --request PUT \
--url https://api.kakiyo.com/v1/agents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workingHours": {
"days": "1:1:1:1:1:0:0",
"start": "08:00",
"stop": "18:00"
},
"limits": {
"invitationsMin": 20,
"invitationsMax": 30,
"messagesMin": 100,
"messagesMax": 150
},
"settings": [
{
"key": "skipInNetwork",
"value": true
}
]
}
'import requests
url = "https://api.kakiyo.com/v1/agents/{id}"
payload = {
"workingHours": {
"days": "1:1:1:1:1:0:0",
"start": "08:00",
"stop": "18:00"
},
"limits": {
"invitationsMin": 20,
"invitationsMax": 30,
"messagesMin": 100,
"messagesMax": 150
},
"settings": [
{
"key": "skipInNetwork",
"value": True
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
workingHours: {days: '1:1:1:1:1:0:0', start: '08:00', stop: '18:00'},
limits: {invitationsMin: 20, invitationsMax: 30, messagesMin: 100, messagesMax: 150},
settings: [{key: 'skipInNetwork', value: true}]
})
};
fetch('https://api.kakiyo.com/v1/agents/{id}', 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.kakiyo.com/v1/agents/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'workingHours' => [
'days' => '1:1:1:1:1:0:0',
'start' => '08:00',
'stop' => '18:00'
],
'limits' => [
'invitationsMin' => 20,
'invitationsMax' => 30,
'messagesMin' => 100,
'messagesMax' => 150
],
'settings' => [
[
'key' => 'skipInNetwork',
'value' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.kakiyo.com/v1/agents/{id}"
payload := strings.NewReader("{\n \"workingHours\": {\n \"days\": \"1:1:1:1:1:0:0\",\n \"start\": \"08:00\",\n \"stop\": \"18:00\"\n },\n \"limits\": {\n \"invitationsMin\": 20,\n \"invitationsMax\": 30,\n \"messagesMin\": 100,\n \"messagesMax\": 150\n },\n \"settings\": [\n {\n \"key\": \"skipInNetwork\",\n \"value\": true\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.kakiyo.com/v1/agents/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"workingHours\": {\n \"days\": \"1:1:1:1:1:0:0\",\n \"start\": \"08:00\",\n \"stop\": \"18:00\"\n },\n \"limits\": {\n \"invitationsMin\": 20,\n \"invitationsMax\": 30,\n \"messagesMin\": 100,\n \"messagesMax\": 150\n },\n \"settings\": [\n {\n \"key\": \"skipInNetwork\",\n \"value\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kakiyo.com/v1/agents/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"workingHours\": {\n \"days\": \"1:1:1:1:1:0:0\",\n \"start\": \"08:00\",\n \"stop\": \"18:00\"\n },\n \"limits\": {\n \"invitationsMin\": 20,\n \"invitationsMax\": 30,\n \"messagesMin\": 100,\n \"messagesMax\": 150\n },\n \"settings\": [\n {\n \"key\": \"skipInNetwork\",\n \"value\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "agent_12345abcde",
"message": "Agent settings updated successfully"
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}{
"error": "validation_error",
"message": "The request parameters failed validation",
"details": [
{
"field": "name",
"message": "The name field is required"
}
]
}Endpoint
PUT https://api.kakiyo.com/v1/agents/:agentId
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agentId | string | Yes | The agent ID to update |
Request Body
All sections are optional. You can update just one section or multiple at once.Working Hours
| Field | Type | Description |
|---|---|---|
days | string | Working days (Mon-Sun). Format: 1:1:1:1:1:0:0 where 1=active, 0=off |
start | string | Start time in HH:MM format (24-hour) |
stop | string | End time in HH:MM format (24-hour) |
Limits
| Field | Type | Description |
|---|---|---|
invitationsMin | integer | Minimum daily invitations (1-100) |
invitationsMax | integer | Maximum daily invitations (2-100) |
messagesMin | integer | Minimum daily messages (1-500) |
messagesMax | integer | Maximum daily messages (2-500) |
Settings
Array of key-value pairs for behavior settings:| Key | Type | Description |
|---|---|---|
skipInNetwork | boolean | Don’t send messages to prospects already in your LinkedIn network |
invitationsOnly | boolean | Only send invitations, skip follow-up messages |
Response
{
"id": "69724b7100331796aae2",
"message": "Agent settings updated successfully"
}
Example Requests
Update Working Hours Only
curl -X PUT "https://api.kakiyo.com/v1/agents/69724b7100331796aae2" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workingHours": {
"days": "1:1:1:1:1:0:0",
"start": "08:00",
"stop": "18:00"
}
}'
Update Limits Only
curl -X PUT "https://api.kakiyo.com/v1/agents/69724b7100331796aae2" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limits": {
"invitationsMin": 20,
"invitationsMax": 30,
"messagesMin": 100,
"messagesMax": 150
}
}'
Update Settings Only
curl -X PUT "https://api.kakiyo.com/v1/agents/69724b7100331796aae2" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"settings": [
{ "key": "skipInNetwork", "value": true }
]
}'
Update Everything
curl -X PUT "https://api.kakiyo.com/v1/agents/69724b7100331796aae2" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workingHours": {
"days": "1:1:1:1:1:0:0",
"start": "08:00",
"stop": "18:00"
},
"limits": {
"invitationsMin": 20,
"invitationsMax": 30,
"messagesMin": 100,
"messagesMax": 150
},
"settings": [
{ "key": "skipInNetwork", "value": true }
]
}'
Working Days Format
Thedays parameter uses a colon-separated format representing Monday through Sunday:
| Position | Day |
|---|---|
| 1st | Monday |
| 2nd | Tuesday |
| 3rd | Wednesday |
| 4th | Thursday |
| 5th | Friday |
| 6th | Saturday |
| 7th | Sunday |
1:1:1:1:1:0:0- Monday to Friday1:1:1:1:1:1:0- Monday to Saturday0:1:1:1:1:1:0- Tuesday to Saturday
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the agent
Body
application/json
Agent settings to update
Last modified on January 23, 2026
⌘I

