Pause, resume, or retune (cadence, cap, webhook)
curl --request PATCH \
--url https://api.fiveninelabs.com/v1/monitors/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paused": true,
"cadence_s": 3601,
"max_spend_usd_per_run": 123,
"webhook_url": "<string>"
}
'import requests
url = "https://api.fiveninelabs.com/v1/monitors/{id}"
payload = {
"paused": True,
"cadence_s": 3601,
"max_spend_usd_per_run": 123,
"webhook_url": "<string>"
}
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({
paused: true,
cadence_s: 3601,
max_spend_usd_per_run: 123,
webhook_url: '<string>'
})
};
fetch('https://api.fiveninelabs.com/v1/monitors/{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.fiveninelabs.com/v1/monitors/{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([
'paused' => true,
'cadence_s' => 3601,
'max_spend_usd_per_run' => 123,
'webhook_url' => '<string>'
]),
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.fiveninelabs.com/v1/monitors/{id}"
payload := strings.NewReader("{\n \"paused\": true,\n \"cadence_s\": 3601,\n \"max_spend_usd_per_run\": 123,\n \"webhook_url\": \"<string>\"\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.fiveninelabs.com/v1/monitors/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"paused\": true,\n \"cadence_s\": 3601,\n \"max_spend_usd_per_run\": 123,\n \"webhook_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fiveninelabs.com/v1/monitors/{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 \"paused\": true,\n \"cadence_s\": 3601,\n \"max_spend_usd_per_run\": 123,\n \"webhook_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "mon_5wp0d",
"object": "monitor",
"status": "<string>",
"name": "<string>",
"watch": {},
"cadence_s": 123,
"max_spend_usd_per_run": 123,
"worst_case_monthly_usd": 123,
"last_run": {
"id": "run_0pw3e",
"outcome": "<string>",
"fired_at": "2023-11-07T05:31:56Z",
"rows": 123,
"added": 123,
"removed": 123,
"price_moves": 123,
"cost_usd": 123,
"receipt_id": "<string>",
"webhook": "<string>"
},
"next_run_at": "2023-11-07T05:31:56Z",
"lifetime_spend_usd": 123
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}API Reference
Pause, resume, or retune (cadence, cap, webhook)
Not yet available — planned.
PATCH
/
monitors
/
{id}
Pause, resume, or retune (cadence, cap, webhook)
curl --request PATCH \
--url https://api.fiveninelabs.com/v1/monitors/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paused": true,
"cadence_s": 3601,
"max_spend_usd_per_run": 123,
"webhook_url": "<string>"
}
'import requests
url = "https://api.fiveninelabs.com/v1/monitors/{id}"
payload = {
"paused": True,
"cadence_s": 3601,
"max_spend_usd_per_run": 123,
"webhook_url": "<string>"
}
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({
paused: true,
cadence_s: 3601,
max_spend_usd_per_run: 123,
webhook_url: '<string>'
})
};
fetch('https://api.fiveninelabs.com/v1/monitors/{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.fiveninelabs.com/v1/monitors/{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([
'paused' => true,
'cadence_s' => 3601,
'max_spend_usd_per_run' => 123,
'webhook_url' => '<string>'
]),
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.fiveninelabs.com/v1/monitors/{id}"
payload := strings.NewReader("{\n \"paused\": true,\n \"cadence_s\": 3601,\n \"max_spend_usd_per_run\": 123,\n \"webhook_url\": \"<string>\"\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.fiveninelabs.com/v1/monitors/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"paused\": true,\n \"cadence_s\": 3601,\n \"max_spend_usd_per_run\": 123,\n \"webhook_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fiveninelabs.com/v1/monitors/{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 \"paused\": true,\n \"cadence_s\": 3601,\n \"max_spend_usd_per_run\": 123,\n \"webhook_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "mon_5wp0d",
"object": "monitor",
"status": "<string>",
"name": "<string>",
"watch": {},
"cadence_s": 123,
"max_spend_usd_per_run": 123,
"worst_case_monthly_usd": 123,
"last_run": {
"id": "run_0pw3e",
"outcome": "<string>",
"fired_at": "2023-11-07T05:31:56Z",
"rows": 123,
"added": 123,
"removed": 123,
"price_moves": 123,
"cost_usd": 123,
"receipt_id": "<string>",
"webhook": "<string>"
},
"next_run_at": "2023-11-07T05:31:56Z",
"lifetime_spend_usd": 123
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
fn_live_… or fn_test_… — Authorization: Bearer
Headers
Dated API version; defaults to the account pin. Honesty note: with one version in existence the gateway echoes any value back as effective WITHOUT validating it — validation against the known-versions set is planned, so send only real dated versions from https://docs.fiveninelabs.com/changelog
Example:
"2026-08-26"
Path Parameters
Body
application/json
Response
Updated
Example:
"mon_5wp0d"
Allowed value:
"monitor"active | paused | failing (open enum); pauses itself after 3 consecutive failures
stated before you create
Show child attributes
Show child attributes