curl --request PATCH \
--url https://api.getmonitor.io/api/v1/status-pages/{id}/customization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Organization-Id: <x-organization-id>' \
--data '
{
"primaryColor": "#16A34A",
"useDarkTheme": true,
"showSubscriptionButton": false
}
'import requests
url = "https://api.getmonitor.io/api/v1/status-pages/{id}/customization"
payload = {
"primaryColor": "#16A34A",
"useDarkTheme": True,
"showSubscriptionButton": False
}
headers = {
"X-Organization-Id": "<x-organization-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
'X-Organization-Id': '<x-organization-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({primaryColor: '#16A34A', useDarkTheme: true, showSubscriptionButton: false})
};
fetch('https://api.getmonitor.io/api/v1/status-pages/{id}/customization', 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.getmonitor.io/api/v1/status-pages/{id}/customization",
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([
'primaryColor' => '#16A34A',
'useDarkTheme' => true,
'showSubscriptionButton' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"X-Organization-Id: <x-organization-id>"
],
]);
$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.getmonitor.io/api/v1/status-pages/{id}/customization"
payload := strings.NewReader("{\n \"primaryColor\": \"#16A34A\",\n \"useDarkTheme\": true,\n \"showSubscriptionButton\": false\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Organization-Id", "<x-organization-id>")
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.getmonitor.io/api/v1/status-pages/{id}/customization")
.header("X-Organization-Id", "<x-organization-id>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"primaryColor\": \"#16A34A\",\n \"useDarkTheme\": true,\n \"showSubscriptionButton\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getmonitor.io/api/v1/status-pages/{id}/customization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Organization-Id"] = '<x-organization-id>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"primaryColor\": \"#16A34A\",\n \"useDarkTheme\": true,\n \"showSubscriptionButton\": false\n}"
response = http.request(request)
puts response.read_body{
"id": "g5mz4es8nwoxirs0du4rasuy",
"statusPageId": "ue36sb5hjehntxcd7iau14cz",
"primaryColor": "#16A34A",
"accentColor": "#10b981",
"backgroundColor": "#ffffff",
"foregroundColor": "#1f2937",
"primaryForegroundColor": "#ffffff",
"cardColor": "#ffffff",
"cardForegroundColor": "#1f2937",
"mutedColor": "#f1f5f9",
"mutedForegroundColor": "#475569",
"borderColor": "#e2e8f0",
"textColor": "#1f2937",
"useDarkTheme": true,
"shadowStyle": "sm",
"borderRadiusStyle": "md",
"showSubscriptionButton": false,
"showRecentUpdatesSection": true,
"defaultLanguage": null,
"headerDisplayName": null,
"hideHeaderName": false,
"customCss": null,
"customHeaderHtml": null,
"customFooterHtml": null,
"createdAt": "2026-09-27T14:20:03.622Z",
"updatedAt": "2026-09-27T14:20:03.622Z"
}{
"message": [
"name must be longer than or equal to 1 characters",
"regions must be an array"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "No access to this organization",
"error": "Forbidden",
"statusCode": 403
}{
"message": "Monitor not found",
"error": "Not Found",
"statusCode": 404
}Update customization
Updates colors, layout and custom code. customCss, customHeaderHtml and customFooterHtml require the Pro or Business plan (403 otherwise).
Authentication: API key with the status-pages:write scope, or a user session. Role: member, admin or owner.
curl --request PATCH \
--url https://api.getmonitor.io/api/v1/status-pages/{id}/customization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Organization-Id: <x-organization-id>' \
--data '
{
"primaryColor": "#16A34A",
"useDarkTheme": true,
"showSubscriptionButton": false
}
'import requests
url = "https://api.getmonitor.io/api/v1/status-pages/{id}/customization"
payload = {
"primaryColor": "#16A34A",
"useDarkTheme": True,
"showSubscriptionButton": False
}
headers = {
"X-Organization-Id": "<x-organization-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
'X-Organization-Id': '<x-organization-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({primaryColor: '#16A34A', useDarkTheme: true, showSubscriptionButton: false})
};
fetch('https://api.getmonitor.io/api/v1/status-pages/{id}/customization', 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.getmonitor.io/api/v1/status-pages/{id}/customization",
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([
'primaryColor' => '#16A34A',
'useDarkTheme' => true,
'showSubscriptionButton' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"X-Organization-Id: <x-organization-id>"
],
]);
$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.getmonitor.io/api/v1/status-pages/{id}/customization"
payload := strings.NewReader("{\n \"primaryColor\": \"#16A34A\",\n \"useDarkTheme\": true,\n \"showSubscriptionButton\": false\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Organization-Id", "<x-organization-id>")
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.getmonitor.io/api/v1/status-pages/{id}/customization")
.header("X-Organization-Id", "<x-organization-id>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"primaryColor\": \"#16A34A\",\n \"useDarkTheme\": true,\n \"showSubscriptionButton\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getmonitor.io/api/v1/status-pages/{id}/customization")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Organization-Id"] = '<x-organization-id>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"primaryColor\": \"#16A34A\",\n \"useDarkTheme\": true,\n \"showSubscriptionButton\": false\n}"
response = http.request(request)
puts response.read_body{
"id": "g5mz4es8nwoxirs0du4rasuy",
"statusPageId": "ue36sb5hjehntxcd7iau14cz",
"primaryColor": "#16A34A",
"accentColor": "#10b981",
"backgroundColor": "#ffffff",
"foregroundColor": "#1f2937",
"primaryForegroundColor": "#ffffff",
"cardColor": "#ffffff",
"cardForegroundColor": "#1f2937",
"mutedColor": "#f1f5f9",
"mutedForegroundColor": "#475569",
"borderColor": "#e2e8f0",
"textColor": "#1f2937",
"useDarkTheme": true,
"shadowStyle": "sm",
"borderRadiusStyle": "md",
"showSubscriptionButton": false,
"showRecentUpdatesSection": true,
"defaultLanguage": null,
"headerDisplayName": null,
"hideHeaderName": false,
"customCss": null,
"customHeaderHtml": null,
"customFooterHtml": null,
"createdAt": "2026-09-27T14:20:03.622Z",
"updatedAt": "2026-09-27T14:20:03.622Z"
}{
"message": [
"name must be longer than or equal to 1 characters",
"regions must be an array"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "No access to this organization",
"error": "Forbidden",
"statusCode": 403
}{
"message": "Monitor not found",
"error": "Not Found",
"statusCode": 404
}Authorizations
API key sent as Authorization: Bearer <key>. Personal keys (gm_pat_) act as you, limited by your role and the key's scopes; organization keys (gm_api_) act for one organization. Send X-Organization-Id with every org-scoped request.
Headers
ID of the organization to act in. Required with API keys. A user session may omit it and acts in its active organization.
"k2p9x7w4m1n8b3v6c5z0q2r7"
Path Parameters
Status page ID.
Body
All fields are optional; only the ones sent are changed.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
CSS color, e.g. #16A34A.
Show the "Subscribe to updates" button.
Default page language, e.g. en-US or pt-BR.
Custom CSS. Requires the Pro or Business plan.
Custom header HTML. Requires the Pro or Business plan.
Custom footer HTML. Requires the Pro or Business plan.
Response
OK