Planned Maintenances
Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /api/status-page/{status_page_id}/planned-maintenance HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Accept: */*
{
"success": true,
"data": [
{
"_id": "66c1d2e3f4a5b60718293a4e",
"title": "Database maintenance",
"status": "in_progress",
"components": [
"66c1d2e3f4a5b60718293a4c"
],
"scheduledStart": "2026-04-02T02:00:00.000Z",
"scheduledEnd": "2026-04-02T04:00:00.000Z",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
]
}Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /api/status-page/{status_page_id}/planned-maintenance/upcoming HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Accept: */*
{
"success": true,
"data": [
{
"_id": "66c1d2e3f4a5b60718293a4e",
"title": "Database maintenance",
"status": "scheduled",
"components": [
"66c1d2e3f4a5b60718293a4c"
],
"scheduledStart": "2026-04-02T02:00:00.000Z",
"scheduledEnd": "2026-04-02T04:00:00.000Z",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
]
}Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /api/status-page/{status_page_id}/planned-maintenance/previous HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Accept: */*
{
"success": true,
"data": [
{
"_id": "66c1d2e3f4a5b60718293a4e",
"title": "Database maintenance",
"status": "completed",
"components": [
"66c1d2e3f4a5b60718293a4c"
],
"scheduledStart": "2026-04-02T02:00:00.000Z",
"scheduledEnd": "2026-04-02T04:00:00.000Z",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
]
}Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
pm_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /api/status-page/{status_page_id}/planned-maintenance/{pm_id} HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Accept: */*
{
"success": true,
"data": {
"_id": "66c1d2e3f4a5b60718293a4e",
"title": "Database maintenance",
"status": "scheduled",
"components": [
"66c1d2e3f4a5b60718293a4c"
],
"scheduledStart": "2026-04-02T02:00:00.000Z",
"scheduledEnd": "2026-04-02T04:00:00.000Z",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
}{
"title": "planned maintenance title",
"desc": "Write a message to your subscribers.",
"startDate": "10/03/2023",
"endDate": "13/03/2023",
"startTime": "10:00",
"endTime": "05:00",
"notify": true,
"components": ["{{ _.component_id }}"],
"notifyNow": true,
"notifyOnEnd": true,
"reminders": [
{
"time": 2,
"unit": "days"
}
]
}* ALL THE TIMESTAMPS SHOULD BE IN UTC
Params:
Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Bad request
Unauthorized
Not found
POST /api/status-page/{status_page_id}/planned-maintenance/create HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 291
{
"title": "planned maintenance title edited",
"desc": "description of the maintenance",
"startDate": "10/03/2023",
"endDate": "13/03/2023",
"startTime": "10:00",
"endTime": "05:00",
"notify": true,
"components": [
"<component-id>"
],
"notifyNow": true,
"notifyOnEnd": true,
"reminders": [
{
"time": 2,
"unit": "days"
}
]
}{
"success": true,
"data": {
"_id": "66c1d2e3f4a5b60718293a4e",
"title": "Database maintenance",
"status": "scheduled",
"components": [
"66c1d2e3f4a5b60718293a4c"
],
"scheduledStart": "2026-04-02T02:00:00.000Z",
"scheduledEnd": "2026-04-02T04:00:00.000Z",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
}{
"title": "planned maintenance title",
"desc": "Write a message to your subscribers.",
"startDate": "10/03/2023",
"endDate": "13/03/2023",
"startTime": "10:00",
"endTime": "05:00",
"notify": true,
"components": ["{{ _.component_id }}"],
"notifyNow": true,
"notifyOnEnd": true,
"reminders": [
{
"time": 2,
"unit": "days"
}
]
}* ALL THE TIMESTAMPS SHOULD BE IN UTC
Params:
Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
pm_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Bad request
Unauthorized
Not found
POST /api/status-page/{status_page_id}/planned-maintenance/{pm_id}/update HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 293
{
"title": "planned maintenance edited title 2",
"desc": "description of the maintenance",
"startDate": "12/03/2023",
"endDate": "15/03/2023",
"startTime": "10:00",
"endTime": "05:00",
"notify": true,
"components": [
"<component-id>"
],
"notifyNow": true,
"notifyOnEnd": true,
"reminders": [
{
"time": 2,
"unit": "days"
}
]
}{
"success": true,
"data": {
"_id": "66c1d2e3f4a5b60718293a4e",
"title": "Database maintenance (rescheduled)",
"status": "scheduled",
"components": [
"66c1d2e3f4a5b60718293a4c"
],
"scheduledStart": "2026-04-02T02:00:00.000Z",
"scheduledEnd": "2026-04-02T04:00:00.000Z",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
}Last updated