Import status pages from UptimeRobot or Better Stack with an API key for that tool. Each page is created with the same name, groups and components, showing the monitors already in this account that match the tool's by URL or heartbeat name: import the monitors first. Pages whose name is taken are skipped. Custom domains, passwords and branding do not carry over; each page lists what did not. `dry_run` reports without creating anything.
const url = 'https://api.siteqwality.com/status_page/import';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"source":"uptimerobot","api_key":"example","dry_run":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siteqwality.com/status_page/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "source": "uptimerobot", "api_key": "example", "dry_run": true }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
uptimerobot or betterstack; Pingdom’s and StatusCake’s APIs have no status pages.
An API key or token for that tool; a read-only one is enough. It is used for this request only and never stored.
Report what would happen without creating anything.
Responses
Section titled “ Responses ”Each page’s outcome
object
The tool to import from.
Pages left when time ran out; running the import again adds them.
object
The page’s id in the other tool.
The new status page’s id.
Why the page was skipped, failed or not attempted.
What does not carry over, such as a custom domain or a password.
What the page shows, in order.
object
The group it sits in; null for the ungrouped list.
Whether it is on the page (or, in a dry run, would be).
The monitor it shows: one of yours, matched by URL or heartbeat name. Null for a component whose status you set yourself.
Why it is left off the page.
Example
{ "source": "uptimerobot", "pages": [ { "status": "created" } ]}No API key, or the tool’s API has no status pages
Missing or invalid authentication
The tool refused the API key; the message has its reason
The tool is rate limiting the key; wait and try again
The tool could not be reached or sent an unreadable answer