curl --request PATCH \
--url https://app.famulor.io/api/v1/campaigns/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"concurrency": 5,
"voicemail_action": "drop_message",
"voicemail_message": "Hi, we tried to reach you — we'll call again later."
}
EOFimport requests
url = "https://app.famulor.io/api/v1/campaigns/{id}"
payload = {
"concurrency": 5,
"voicemail_action": "drop_message",
"voicemail_message": "Hi, we tried to reach you — we'll call again later."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
concurrency: 5,
voicemail_action: 'drop_message',
voicemail_message: 'Hi, we tried to reach you — we\'ll call again later.'
})
};
fetch('https://app.famulor.io/api/v1/campaigns/{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://app.famulor.io/api/v1/campaigns/{id}",
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([
'concurrency' => 5,
'voicemail_action' => 'drop_message',
'voicemail_message' => 'Hi, we tried to reach you — we\'ll call again later.'
]),
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://app.famulor.io/api/v1/campaigns/{id}"
payload := strings.NewReader("{\n \"concurrency\": 5,\n \"voicemail_action\": \"drop_message\",\n \"voicemail_message\": \"Hi, we tried to reach you — we'll call again later.\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://app.famulor.io/api/v1/campaigns/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"concurrency\": 5,\n \"voicemail_action\": \"drop_message\",\n \"voicemail_message\": \"Hi, we tried to reach you — we'll call again later.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.io/api/v1/campaigns/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"concurrency\": 5,\n \"voicemail_action\": \"drop_message\",\n \"voicemail_message\": \"Hi, we tried to reach you — we'll call again later.\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "ca1b2c3d-0000-4000-8000-000000000030",
"name": "July outreach",
"status": "draft",
"assistant_id": "a1b2c3d4-0000-4000-8000-000000000001",
"concurrency": 3,
"retry_max": 2,
"retry_delay_minutes": 60,
"calling_windows": {
"mon": [
[
"09:00",
"20:00"
]
],
"tue": [
[
"09:00",
"20:00"
]
]
},
"timezone": "Europe/Berlin",
"amd_enabled": true,
"voicemail_action": "hangup",
"voicemail_message": null,
"started_at": null,
"completed_at": null,
"created_at": "2026-07-01T08:00:00Z",
"updated_at": "2026-07-01T08:00:00Z"
}
}Update a campaign
Updates name, assistant and/or dialer settings. voicemail_action: "drop_message" requires an effective voicemail_message. Required scope: campaigns:write (keys without scope restrictions have full access).
curl --request PATCH \
--url https://app.famulor.io/api/v1/campaigns/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"concurrency": 5,
"voicemail_action": "drop_message",
"voicemail_message": "Hi, we tried to reach you — we'll call again later."
}
EOFimport requests
url = "https://app.famulor.io/api/v1/campaigns/{id}"
payload = {
"concurrency": 5,
"voicemail_action": "drop_message",
"voicemail_message": "Hi, we tried to reach you — we'll call again later."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
concurrency: 5,
voicemail_action: 'drop_message',
voicemail_message: 'Hi, we tried to reach you — we\'ll call again later.'
})
};
fetch('https://app.famulor.io/api/v1/campaigns/{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://app.famulor.io/api/v1/campaigns/{id}",
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([
'concurrency' => 5,
'voicemail_action' => 'drop_message',
'voicemail_message' => 'Hi, we tried to reach you — we\'ll call again later.'
]),
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://app.famulor.io/api/v1/campaigns/{id}"
payload := strings.NewReader("{\n \"concurrency\": 5,\n \"voicemail_action\": \"drop_message\",\n \"voicemail_message\": \"Hi, we tried to reach you — we'll call again later.\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://app.famulor.io/api/v1/campaigns/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"concurrency\": 5,\n \"voicemail_action\": \"drop_message\",\n \"voicemail_message\": \"Hi, we tried to reach you — we'll call again later.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.famulor.io/api/v1/campaigns/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"concurrency\": 5,\n \"voicemail_action\": \"drop_message\",\n \"voicemail_message\": \"Hi, we tried to reach you — we'll call again later.\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "ca1b2c3d-0000-4000-8000-000000000030",
"name": "July outreach",
"status": "draft",
"assistant_id": "a1b2c3d4-0000-4000-8000-000000000001",
"concurrency": 3,
"retry_max": 2,
"retry_delay_minutes": 60,
"calling_windows": {
"mon": [
[
"09:00",
"20:00"
]
],
"tue": [
[
"09:00",
"20:00"
]
]
},
"timezone": "Europe/Berlin",
"amd_enabled": true,
"voicemail_action": "hangup",
"voicemail_message": null,
"started_at": null,
"completed_at": null,
"created_at": "2026-07-01T08:00:00Z",
"updated_at": "2026-07-01T08:00:00Z"
}
}Authorizations
API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.
Path Parameters
Campaign ID.
Body
Partial update — only the provided fields are changed. At least one valid field is required.
Maximum parallel voice calls for this campaign. Must fit the workspace's effective Concurrent Lines allowance, including add-ons. Calls across campaigns share that workspace allowance.
1 <= x <= 2147483647x >= 0x >= 1Allowed calling windows per weekday, local to the campaign timezone. Keys: mon–sun; each value is an array of ["HH:MM", "HH:MM"] start/end pairs (24h). An empty array or missing key blocks the whole day.
Show child attributes
Show child attributes
hangup, drop_message Answering-machine detection sensitivity when AMD is enabled.
conservative, aggressive Allow navigating phone menus. Enabling requires workspace Beta features.
Response
The updated campaign.
Show child attributes
Show child attributes