Update alert settings
curl --request PATCH \
--url https://api.pickupbell.com/locations/{locationId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sms_recipients": [
"<string>"
],
"email_recipients": [
"<string>"
],
"slack_webhook_url": "<string>",
"daily_digest_time": "<string>",
"trigger_new_lead": true,
"trigger_booking": true,
"trigger_missed_callback": true,
"trigger_spam": true,
"trigger_every_call": true,
"weekly_monday_summary": true,
"weekly_slow_warning": true
}
'import requests
url = "https://api.pickupbell.com/locations/{locationId}/notifications"
payload = {
"sms_recipients": ["<string>"],
"email_recipients": ["<string>"],
"slack_webhook_url": "<string>",
"daily_digest_time": "<string>",
"trigger_new_lead": True,
"trigger_booking": True,
"trigger_missed_callback": True,
"trigger_spam": True,
"trigger_every_call": True,
"weekly_monday_summary": True,
"weekly_slow_warning": True
}
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({
sms_recipients: ['<string>'],
email_recipients: ['<string>'],
slack_webhook_url: '<string>',
daily_digest_time: '<string>',
trigger_new_lead: true,
trigger_booking: true,
trigger_missed_callback: true,
trigger_spam: true,
trigger_every_call: true,
weekly_monday_summary: true,
weekly_slow_warning: true
})
};
fetch('https://api.pickupbell.com/locations/{locationId}/notifications', 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.pickupbell.com/locations/{locationId}/notifications",
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([
'sms_recipients' => [
'<string>'
],
'email_recipients' => [
'<string>'
],
'slack_webhook_url' => '<string>',
'daily_digest_time' => '<string>',
'trigger_new_lead' => true,
'trigger_booking' => true,
'trigger_missed_callback' => true,
'trigger_spam' => true,
'trigger_every_call' => true,
'weekly_monday_summary' => true,
'weekly_slow_warning' => 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.pickupbell.com/locations/{locationId}/notifications"
payload := strings.NewReader("{\n \"sms_recipients\": [\n \"<string>\"\n ],\n \"email_recipients\": [\n \"<string>\"\n ],\n \"slack_webhook_url\": \"<string>\",\n \"daily_digest_time\": \"<string>\",\n \"trigger_new_lead\": true,\n \"trigger_booking\": true,\n \"trigger_missed_callback\": true,\n \"trigger_spam\": true,\n \"trigger_every_call\": true,\n \"weekly_monday_summary\": true,\n \"weekly_slow_warning\": true\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://api.pickupbell.com/locations/{locationId}/notifications")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"sms_recipients\": [\n \"<string>\"\n ],\n \"email_recipients\": [\n \"<string>\"\n ],\n \"slack_webhook_url\": \"<string>\",\n \"daily_digest_time\": \"<string>\",\n \"trigger_new_lead\": true,\n \"trigger_booking\": true,\n \"trigger_missed_callback\": true,\n \"trigger_spam\": true,\n \"trigger_every_call\": true,\n \"weekly_monday_summary\": true,\n \"weekly_slow_warning\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pickupbell.com/locations/{locationId}/notifications")
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 \"sms_recipients\": [\n \"<string>\"\n ],\n \"email_recipients\": [\n \"<string>\"\n ],\n \"slack_webhook_url\": \"<string>\",\n \"daily_digest_time\": \"<string>\",\n \"trigger_new_lead\": true,\n \"trigger_booking\": true,\n \"trigger_missed_callback\": true,\n \"trigger_spam\": true,\n \"trigger_every_call\": true,\n \"weekly_monday_summary\": true,\n \"weekly_slow_warning\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sms_recipients": [
"<string>"
],
"email_recipients": [
"<string>"
],
"slack_webhook_url": "<string>",
"daily_digest_time": "07:00",
"trigger_emergency": true,
"trigger_new_lead": true,
"trigger_booking": true,
"trigger_missed_callback": true,
"trigger_spam": true,
"trigger_every_call": true,
"weekly_monday_summary": true,
"weekly_slow_warning": true,
"updated_at": "2023-11-07T05:31:56Z"
}
}API Reference · Integrations & alerts
Update notification settings
PATCH
/
locations
/
{locationId}
/
notifications
Update alert settings
curl --request PATCH \
--url https://api.pickupbell.com/locations/{locationId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sms_recipients": [
"<string>"
],
"email_recipients": [
"<string>"
],
"slack_webhook_url": "<string>",
"daily_digest_time": "<string>",
"trigger_new_lead": true,
"trigger_booking": true,
"trigger_missed_callback": true,
"trigger_spam": true,
"trigger_every_call": true,
"weekly_monday_summary": true,
"weekly_slow_warning": true
}
'import requests
url = "https://api.pickupbell.com/locations/{locationId}/notifications"
payload = {
"sms_recipients": ["<string>"],
"email_recipients": ["<string>"],
"slack_webhook_url": "<string>",
"daily_digest_time": "<string>",
"trigger_new_lead": True,
"trigger_booking": True,
"trigger_missed_callback": True,
"trigger_spam": True,
"trigger_every_call": True,
"weekly_monday_summary": True,
"weekly_slow_warning": True
}
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({
sms_recipients: ['<string>'],
email_recipients: ['<string>'],
slack_webhook_url: '<string>',
daily_digest_time: '<string>',
trigger_new_lead: true,
trigger_booking: true,
trigger_missed_callback: true,
trigger_spam: true,
trigger_every_call: true,
weekly_monday_summary: true,
weekly_slow_warning: true
})
};
fetch('https://api.pickupbell.com/locations/{locationId}/notifications', 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.pickupbell.com/locations/{locationId}/notifications",
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([
'sms_recipients' => [
'<string>'
],
'email_recipients' => [
'<string>'
],
'slack_webhook_url' => '<string>',
'daily_digest_time' => '<string>',
'trigger_new_lead' => true,
'trigger_booking' => true,
'trigger_missed_callback' => true,
'trigger_spam' => true,
'trigger_every_call' => true,
'weekly_monday_summary' => true,
'weekly_slow_warning' => 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.pickupbell.com/locations/{locationId}/notifications"
payload := strings.NewReader("{\n \"sms_recipients\": [\n \"<string>\"\n ],\n \"email_recipients\": [\n \"<string>\"\n ],\n \"slack_webhook_url\": \"<string>\",\n \"daily_digest_time\": \"<string>\",\n \"trigger_new_lead\": true,\n \"trigger_booking\": true,\n \"trigger_missed_callback\": true,\n \"trigger_spam\": true,\n \"trigger_every_call\": true,\n \"weekly_monday_summary\": true,\n \"weekly_slow_warning\": true\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://api.pickupbell.com/locations/{locationId}/notifications")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"sms_recipients\": [\n \"<string>\"\n ],\n \"email_recipients\": [\n \"<string>\"\n ],\n \"slack_webhook_url\": \"<string>\",\n \"daily_digest_time\": \"<string>\",\n \"trigger_new_lead\": true,\n \"trigger_booking\": true,\n \"trigger_missed_callback\": true,\n \"trigger_spam\": true,\n \"trigger_every_call\": true,\n \"weekly_monday_summary\": true,\n \"weekly_slow_warning\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pickupbell.com/locations/{locationId}/notifications")
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 \"sms_recipients\": [\n \"<string>\"\n ],\n \"email_recipients\": [\n \"<string>\"\n ],\n \"slack_webhook_url\": \"<string>\",\n \"daily_digest_time\": \"<string>\",\n \"trigger_new_lead\": true,\n \"trigger_booking\": true,\n \"trigger_missed_callback\": true,\n \"trigger_spam\": true,\n \"trigger_every_call\": true,\n \"weekly_monday_summary\": true,\n \"weekly_slow_warning\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sms_recipients": [
"<string>"
],
"email_recipients": [
"<string>"
],
"slack_webhook_url": "<string>",
"daily_digest_time": "07:00",
"trigger_emergency": true,
"trigger_new_lead": true,
"trigger_booking": true,
"trigger_missed_callback": true,
"trigger_spam": true,
"trigger_every_call": true,
"weekly_monday_summary": true,
"weekly_slow_warning": true,
"updated_at": "2023-11-07T05:31:56Z"
}
}Authorizations
Location-scoped API token from Settings → API & MCP.
Path Parameters
Location UUID or slug (e.g. premier-hvac).
Body
application/json
Any subset of the writable fields. trigger_emergency is always coerced to true.
Response
200 - application/json
Updated
Show child attributes
Show child attributes