Integration API
Read the live status of your backups from BackupMonitor using your API key: per job, or as status counts. Use this to build internal dashboards, status displays, PSA/RMM integrations, or monitoring scripts that react to backup failures.
Unlike the Ingest API which pushes data into BackupMonitor, the Integration API lets you pull current state out — for example to drive a wall display, a helpdesk widget, or an alert script that pages on-call when the error count rises.
OpenAPI: the machine-readable description of this
API and the Ingest API is at
https://api.backupmonitor.io/openapi/v1.json. Building a client with a coding agent? Give it this URL and this
page.
Authentication
Every request must include your API key in the
X-Api-Key header. You can find your key in
Settings → API inside the app.
Keep your API key secret. Anyone with the key can read your backup status data. Do not commit it to version control or share it publicly.
X-Api-Key: bm_your-api-key-here
Requests with a missing or invalid key return
401 Unauthorized.
Rate Limit
The Integration API allows 30 requests per minute per account, counted separately from the Ingest API. Backup status changes slowly, so polling every 5 minutes is plenty.
Above the limit you receive 429 Too Many Requests with a
Retry-After header: wait that many seconds before the
next request.
Endpoints
Get Status Counts
Returns the current number of active jobs in each status category. Counts reflect the latest known status for every active job in your account.
Response
| Field | Type | Description |
|---|---|---|
successCount |
number | Jobs whose last result was a success. |
errorCount |
number | Jobs whose last result was an error. |
warningCount |
number | Jobs whose last result was a warning. |
otherCount |
number | Jobs in any other state (e.g. running, unknown). |
Example response
{
"successCount": 42,
"errorCount": 3,
"warningCount": 1,
"otherCount": 0
}
Get Job Status
Returns every active job in your account as a flat list, sorted by group, device and job name: its current status, the newest backup report, when it last succeeded and, if you ask for it, the status per day as shown in the dashboard.
Query parameters
| Parameter | Type | Description |
|---|---|---|
days optional |
number |
Number of days (0–8) to include in
days, newest first. Default 0: no
days field. Larger values are capped at 8.
|
Response
A JSON array with one object per job:
| Field | Type | Description |
|---|---|---|
jobId |
string | Unique ID of the job. |
jobName |
string | Job name as shown in the dashboard (the alias, if set). |
type |
string |
Backup software, e.g. veeam,
acronisCyberProtect, proxmox. The
full list is in the OpenAPI document.
|
deviceId |
string | Unique ID of the device. |
deviceName |
string | Device name as shown in the dashboard (the alias, if set). |
groupId, groupName |
string | null | Group of the device, null if it is not in a group. |
status |
string |
Current status of the job, see
status values. The same status
the dashboard and /api/integration/counts use.
|
lastRun |
object | null |
The newest backup report: timestamp,
status (success, error,
warning, inProgress) and
message. null if the job never
reported.
|
lastSuccessAt |
string | null |
Time of the newest successful backup, also when the job is
failing right now. null if it never succeeded.
|
days |
array |
Only with days > 0. Per day:
date (YYYY-MM-DD in your account's
timezone), status, timestamp of the
newest report that day (or null) and
message.
|
All timestamps are UTC in ISO 8601. Messages are plain text, at most 500 characters.
Status values
| Value | Meaning |
|---|---|
success |
The backup succeeded. |
warning |
The backup completed with warnings. |
error |
The backup failed, or no report arrived on a scheduled day. |
forcedSuccess |
A failure that was marked as OK in the app. |
ignoredError |
A failure within the job's allowed errors. |
none |
No status yet. |
notPlanned |
days only: the job is not scheduled on that day. |
missingButNotDue |
days only: no report yet, but it is not overdue. |
Example response
GET /api/integration/jobs?days=2
[
{
"jobId": "8f9c2a1e-5b7d-4c3a-9e21-0d4b6f8a7c11",
"jobName": "SQL Nightly",
"type": "veeam",
"deviceId": "3b1e7d90-2c4f-4a8e-b5d6-1f0a9c8e7b22",
"deviceName": "SRV01",
"groupId": "c4d2e6f8-1a3b-4c5d-8e7f-9a0b1c2d3e33",
"groupName": "Customer A",
"status": "error",
"lastRun": {
"timestamp": "2026-11-20T01:02:03Z",
"status": "error",
"message": "Failed to create VM snapshot: datastore is full"
},
"lastSuccessAt": "2026-11-17T22:01:00Z",
"days": [
{
"date": "2026-11-20",
"status": "error",
"timestamp": "2026-11-20T01:02:03Z",
"message": "[11/20/2026 01:02:03] Failed to create VM snapshot: datastore is full"
},
{
"date": "2026-11-19",
"status": "error",
"timestamp": null,
"message": "[11/19/2026] No Message Received"
}
]
}
]
Code Examples
Failed Jobs with Their Last Success
Lists every job that is currently failing, with its group and when it last succeeded.
API_KEY="bm_your-api-key-here"
# requires jq (https://jqlang.org)
curl -s \
-H "X-Api-Key: $API_KEY" \
"https://api.backupmonitor.io/api/integration/jobs" \
| jq -r '.[] | select(.status == "error")
| "\(.groupName // "-") / \(.deviceName) / \(.jobName): last success \(.lastSuccessAt // "never")"'
$API_KEY = "bm_your-api-key-here"
$jobs = Invoke-RestMethod `
-Uri "https://api.backupmonitor.io/api/integration/jobs" `
-Headers @{ "X-Api-Key" = $API_KEY }
$jobs | Where-Object status -eq "error" |
Select-Object groupName, deviceName, jobName,
@{ n = "lastRun"; e = { $_.lastRun.timestamp } },
@{ n = "lastSuccess"; e = { if ($_.lastSuccessAt) { $_.lastSuccessAt } else { "never" } } } |
Format-Table
Fetch Status Counts
API_KEY="bm_your-api-key-here" curl -s \ -H "X-Api-Key: $API_KEY" \ "https://api.backupmonitor.io/api/integration/counts"
$API_KEY = "bm_your-api-key-here"
$response = Invoke-RestMethod `
-Uri "https://api.backupmonitor.io/api/integration/counts" `
-Headers @{ "X-Api-Key" = $API_KEY }
Write-Host "Errors: $($response.errorCount)"
Write-Host "Warnings: $($response.warningCount)"
Write-Host "OK: $($response.successCount)"
Alert on Errors
Poll the endpoint periodically and trigger an alert when the error count exceeds a threshold. The example below sends a message when there are 5 or more errors.
#!/usr/bin/env bash
API_KEY="bm_your-api-key-here"
ERROR_THRESHOLD=5
ERRORS=$(curl -s \
-H "X-Api-Key: $API_KEY" \
"https://api.backupmonitor.io/api/integration/counts" \
| grep -o '"errorCount":[0-9]*' | grep -o '[0-9]*')
if [ "${ERRORS:-0}" -ge "$ERROR_THRESHOLD" ]; then
echo "ALERT: $ERRORS backup job(s) are in error state."
# add your notification logic here (e.g. send email, call webhook)
fi
$API_KEY = "bm_your-api-key-here"
$ERROR_THRESHOLD = 5
$response = Invoke-RestMethod `
-Uri "https://api.backupmonitor.io/api/integration/counts" `
-Headers @{ "X-Api-Key" = $API_KEY }
if ($response.errorCount -ge $ERROR_THRESHOLD) {
Write-Warning "ALERT: $($response.errorCount) backup job(s) are in error state."
# add your notification logic here
}