Xitoring API Documentation (2.0)

Download OpenAPI specification:Download

The Xitoring REST API allows you to interact with Xitoring using RESTful requests over the HTTP protocol.

Authentication

The Xitoring REST API supports Bearer token authentication.

Bearer token authentication authorizes requests by passing a token in the header of each request. This approach eliminates the need for including a username and password in your application. Tokens can be revoked at any time.

Tokens can be administered within the account section of the Xitoring panel.

Example

This example uses token as the credential: --header Authorization: Bearer 999|dXNlcm5hbWU6cGFsohzgc3tgrh2nx3dvcmQ

Base URL

The base URL establishes the API version in use. It serves as the foundation for every request made to the Xitoring REST API.

https://app.xitoring.com/api/v2

HTTP methods

The Xitoring REST API supports the following HTTP methods:

Method Description
GET Returns a resource
POST Creates a resource
PUT Updates a resource
DELETE deletes a resource

Request body format

Xitoring processes request data in both JSON formats.

For requests incorporating data in the request body, include the Content-Type attribute in the request header and set its value to application/json.

Example

Content-Type: application/json

For uploading files, the appropriate content type is multipart/form-data.

Character encoding in requests

To prevent parsing errors in request data, consistently employ UTF-8 character encoding. Requests using alternative character encoding formats may lead to errors and may not be processed correctly.

Note: Parameter names are case-sensitive. For instance, appending "?checkId=..." to a query produces a different result than "?checkid=...". In general, an unrecognized parameter name (e.g., "checkid") is disregarded.

Response format

It is advisable to utilize a JSON parser for handling responses. This approach facilitates easy access to the response properties and allows your scripts to adapt to any new fields that may be introduced in the response in the future. (The addition of a new field to the response is not deemed a breaking change.)

Certain payloads or responses may include fields that lack documentation. These fields signify either experimental or deprecated information and are subject to modification. It is advisable to utilize only the documented parameters when making your requests.

HTTP response codes

Responses utilize standard HTTP response codes to indicate the success or failure of an operation. The subsequent table provides an overview of typical response codes returned by this API.

Response code Description
200 OK Resource was retrieved or updated successfully.
201 Created Resource was created successfully.
204 No Content Response has no content (typically when resource was deleted successfully).
400 Bad Request Request is malformed. This often occurs when there is an error in the request data.
401 Unauthorized User authentication failed.
403 Forbidden The authenticated user lacks the necessary permissions to execute the action. In such cases, it may be required to authenticate using a user account with higher permissions in Xitoring.
404 Not found The resource is not present. This arises when trying to access an endpoint that is nonexistent, such as when a typo exists in the endpoint name.
429 Too many requests The request cannot be processed because the request rate limit has been exceeded.

Account

Get account information

Returns account data

Responses

Update account

Returns updated account data

query Parameters
email
string
username
string
password
string
language
string
Enum: "en_US" "de_DE"
first
string
last
string
mobile
string
phone
string
timezone
string
avatar
file
zip
string
city
string
state
string
website
string
country
string
address
string
company
string
table_length
integer
Enum: 5 10 25 50 -1
currency_id
integer

Responses

Update account

Returns updated account data

query Parameters
email
string
username
string
password
string
language
string
Enum: "en_US" "de_DE"
first
string
last
string
mobile
string
phone
string
timezone
string
avatar
file
zip
string
city
string
state
string
website
string
country
string
address
string
company
string
table_length
integer
Enum: 5 10 25 50 -1
currency_id
integer

Responses

API keys

Get list of api keys

Returns list of api keys

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Store new api key

Returns api key data

query Parameters
title
required
string
expire_at
required
integer
Example: expire_at=1645355429

Responses

Get api key for using as xitogent key

Returns api key

Responses

Delete existing api key

Deletes a record and returns no content

path Parameters
id
required
integer

Api key id

Responses

General

Get mobil app version

Returns mobile app version

Responses

Avatar

Get client avatar

Returns client avatar

path Parameters
id
required
integer

client id

Responses

Delete client avatar

Removes client avatar

path Parameters
id
required
integer

client id

Responses

Get source of avatar

Returns source of clients avatar (e.g. gravatar,...)

path Parameters
id
required
integer

client id

Responses

Logs

Get list of billing logs

Returns list of billing logs

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of account logs

Returns list of account logs

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of notification logs

Returns list of notification logs

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

channel
string
Enum: "email" "sms" "slack"

Channel

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of server logs

Returns list of server logs

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of login logs

Returns list of login logs

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

status
string
Enum: "success" "failure"

Status

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of mail logs

Returns list of mail logs

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get mail log information

Returns mail log data

path Parameters
id
required
integer

Mail log ID

Responses

Response Schema: application/json
id
integer

ID

client_id
integer

Client ID

admin_id
integer

Admin ID

contact_id
integer

Contact ID

cc
string

CC

bcc
string

BCC

subject
string

Subject

recipient
string

Recipient

from
string

From

body
string

Body

created_at
string

Created at

user_name
string

User's name

Response samples

Content type
application/json
{
}

Checks

Create check

Creates a new check

query Parameters
required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response samples

Content type
application/json
{
}

Bulk Create check

Creates several checks

query Parameters
required
any

array of objects similar to create check (api/v2/checks) post params

Responses

Response samples

Content type
application/json
{
}

Update check

Update a check

path Parameters
id
required
integer

Check ID

query Parameters
required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete a Check

Deletes a check

path Parameters
id
required
integer

Check ID

Responses

Test check

Tests a check

query Parameters
required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response samples

Content type
application/json
{
}

Scan Ip

Scans request IP to detect possible checks

query Parameters
ip
required
string

IP

Responses

Checks Count

Counts checks

Responses

Response Schema: application/json
checks
integer
servers
integer
total
integer

Response samples

Content type
application/json
{
}

Get list check log results

Returns list of check log results

path Parameters
id
required
integer

check id

Responses

Check

Show check

Shows a check

path Parameters
id
required
integer

Check ID

Responses

Response Schema: application/json
Array of objects

check

Response samples

Content type
application/json
{
}

Update check

Update a check

path Parameters
id
required
integer

Check ID

query Parameters
required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Check for duplicate check

Checks duplicate check

path Parameters
type
required
integer

Check type

label
required
string

label

Responses

Check uptime graph

Returns check uptime graph

path Parameters
id
required
integer

Check id

query Parameters
range
string

last_hour|today|last_week|this_week|last_month|this_month|this_quarter|last_year|this_year

Responses

Create check

Creates a check

query Parameters
servier_id
any
required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Bulk check operation

Updates/delets checks

query Parameters
ids
required
Array of arrays

array of check ids

operation
required
string

pause|unpause|delete

pause_until
string

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Check widgets

Gets checks widgets

Responses

Bulk Create check

Creates several checks

query Parameters
server_id
any

related server id or null

data
required
any

array of objects similar to create check (api/v2/checks) post params

Responses

Response samples

Content type
application/json
{
}

List SSL checks

Lists SSL checks

query Parameters
sort
string

ssl_expire

Responses

List all checks

Lists all checks

query Parameters
group_id
string

One groupID (e.g. 3) or several commar seperated groupIDs (e.g. 1,4,5,6)

period
string

one of today|last_week|this_week|last_month|this_month|this_quarter|last_year|this_year

type
integer

PING: 20, HTTP: 21, DNS: 22, FTP: 23, SMTP: 24, POP3: 25, IMAP: 26, SSL: 27

Responses

Get check incidents

Gets a list of check incidents

path Parameters
id
required
integer

Check ID

query Parameters
since
integer

timestamp

until
integer

timestamp

status
string

open|resolved

per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

count_only
boolean
Example: count_only=true

Only return count of incidents

auto_range
boolean
Example: auto_range=true

Distribute incident counts into starndard date ranges

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

usages

Response samples

Content type
application/json
{
}

Authenticated user

Get authenticated user information

Returns authenticated user data

Responses

Update authenticated user

Returns updated authenticated user data

query Parameters
email
string
username
string
password
string
language
string
Enum: "en_US" "de_DE"
first
string
last
string
mobile
string
phone
string
timezone
string
avatar
file
zip
string
city
string
state
string
website
string
country
string
address
string
company
string
table_length
integer
Enum: 5 10 25 50 -1
currency_id
integer

Responses

Update authenticated user

Returns updated authenticated user data

query Parameters
email
string
username
string
password
string
language
string
Enum: "en_US" "de_DE"
first
string
last
string
mobile
string
phone
string
timezone
string
avatar
file
zip
string
city
string
state
string
website
string
country
string
address
string
company
string
table_length
integer
Enum: 5 10 25 50 -1
currency_id
integer

Responses

Delete authenticated user

Deletes authenticated user

Responses

ClientDashboard

List dashboard

Lists dashboards

Responses

Create dashboard

Creates a new dashboard

query Parameters
name
required
string
order
required
integer
widgets
required
Array of arrays
columns
required
Array of arrays
column_order
required
Array of arrays

Responses

Response samples

Content type
application/json
{
}

Show dashboard to contact

Shows a shared dashboard for a contact

query Parameters
id
required
integer

Client Dashboard ID

Responses

Hide dashboard for contact

Hides a shared dashboard for a contact

query Parameters
id
required
integer

Client Dashboard ID

Responses

Show dashboard

Shows a dashboard

path Parameters
id
required
integer

dashboard id

Responses

Update dashboard

Update a dashboard

path Parameters
id
required
integer

dashboard id

query Parameters
name
required
string
order
required
integer
widgets
required
Array of arrays
columns
required
Array of arrays
column_order
required
Array of arrays

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete dashboard

Deletes a dashboard

path Parameters
id
required
integer

dashboard id

Responses

Config

Get global config information

Returns global config data

Responses

Contacts

Get list of contacts

Returns list of contacts

Responses

Store new contact

Returns contact data

query Parameters
email
required
string
username
required
string
password
required
string
confirm_password
required
string
language
required
string
Enum: "en_US" "de_DE"
first
string
last
string
title
string
mobile
string
phone
string
full_access
boolean
Enum: 0 1

Full access means your sub-accounts privileges are same as the main account.You can provide account full access to your teammates with this option.

timezone
string
avatar
file

Responses

Get contact information

Returns contact data

path Parameters
id
required
integer

contact id

Responses

Delete existing contact

Deletes a record and returns no content

path Parameters
id
required
integer

Contact id

Responses

Update existing contact

Returns updated contact data

path Parameters
id
required
integer

Contact id

query Parameters
email
string
username
string
password
string
language
string
first
string
last
string
title
string
mobile
string
phone
string
full_access
boolean
Enum: 0 1

Full access means your sub-accounts privileges are same as the main account.You can provide account full access to your teammates with this option.

timezone
string
avatar
file

Responses

Update existing contact

Returns updated contact data

path Parameters
id
required
integer

Contact id

query Parameters
email
string
username
string
password
string
language
string
Enum: "en_US" "de_DE"
first
string
last
string
title
string
mobile
string
phone
string
full_access
boolean
Enum: 0 1

Full access means your sub-accounts privileges are same as the main account.You can provide account full access to your teammates with this option.

timezone
string
avatar
file

Responses

Resend Contact Confirm Email

Resends Contact Confirm Email

path Parameters
id
required
integer

contact id

Responses

Invite new contact

Returns contact data

query Parameters
email
required
string
full_access
boolean
Enum: 0 1

Full access means your sub-accounts privileges are same as the main account.You can provide account full access to your teammates with this option.

Responses

Credit Card

Get credit cards

Get a list of clients credit cards

query Parameters
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Credits

Response samples

Content type
application/json
{
}

New credit card

Store a new credit card

query Parameters
owner
required
string

Card owner full name

number
required
string

Card number

cvv
required
integer

Card cvv

default
boolean

This is clients default card

client_id
required
integer

Client id

expire_at
required
string
Example: expire_at=10/22

Card expiretion date

Responses

Response samples

Content type
application/json
{
}

Show credit card

Shows credit card details

path Parameters
id
required
integer

Credit Card ID

Responses

Response Schema: application/json
Array
id
integer
owner
string
number
string
default
boolean
is_expired
boolean

Response samples

Content type
application/json
[
]

Update credit card

Update credit card details

path Parameters
id
required
integer

Credit Card ID

query Parameters
owner
required
string

Card owner full name

owner
required
string

Card owner full name

number
required
string

Card number

cvv
required
integer

Card cvv

default
boolean

This is clients default card

client_id
required
integer

Client id

expire_at
required
string
Example: expire_at=10/22

Card expiretion date

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete credit card

Deletes credit card

path Parameters
id
required
integer

Credit Card ID

Responses

Credits

Get list of credits

Returns list of credits

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

status
string
Enum: "active" "inactive"

Status

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Credits

total
integer

Number of credits

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get sum of active credits

Returns sum of active credits

Responses

Currencies

Get list of currencies

Returns list of currencies

Responses

Servers

Get servers list

Gets list of servers

query Parameters
only_server
integer

0,1

Responses

Response Schema: application/json
Array of objects

server

Response samples

Content type
application/json
{
}

New server

Store a new server

query Parameters
hostname
required
string

Hostname

platform
string

0: Linux, 1: Windows

label_custom
string

Custom user label

preferences
required
Array of arrays

Server preferences

ips
Array of arrays

Server ip list

header Parameters
Authorization
required
string

API key bearer

Responses

Response samples

Content type
application/json
{
}

Get server

Gets server details

path Parameters
id
required
integer

server id

Responses

Response Schema: application/json
Array of objects

server

Response samples

Content type
application/json
{
}

Update server

Updates a server

path Parameters
id
required
integer

server id

query Parameters
label
required
string

Hostname

label_custom
string

Custom user label

required
Array of objects

Server preferences

ips
Array of arrays

Server ip list

header Parameters
group_id
required
string

API key bearer

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete server

Deletes a server

path Parameters
id
required
integer

Server ID

Responses

Get server IPs

Gets a list of server IPs

path Parameters
id
required
integer

server id

Responses

Get top cpu usage

Gets top servers by their cpu usage

query Parameters
length
integer

list length

Responses

Response Schema: application/json
Array of objects

usages

Response samples

Content type
application/json
{
}

Get top memory usage

Gets top servers by their memory usage

query Parameters
length
integer

list length

Responses

Response Schema: application/json
Array of objects

usages

Response samples

Content type
application/json
{
}

Get top disk io

Gets top servers by their disk io

query Parameters
length
integer

list length

Responses

Response Schema: application/json
Array of objects

usages

Response samples

Content type
application/json
{
}

Get top uptime/downtime

Gets top servers by their uptime or downtime

query Parameters
only_server
integer

if set to 1, only returns servers, default is 1

only_check
integer

if set to 1, only returns checks (sets only_server=0)

length
integer

list length

period
string

one of today|last_week|this_week|last_month|this_month|this_quarter|last_year|this_year

reverse
integer

set to 1 and get top downtime list instead of uptime

Responses

Response Schema: application/json
Array of objects

uptime report

Response samples

Content type
application/json
{
}

Incidents

Get server incidents

Gets a list of server incidents

path Parameters
id
required
integer

Server ID

query Parameters
since
integer

timestamp

until
integer

timestamp

status
string

open|resolved

per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

count_only
boolean
Example: count_only=true

Only return count of incidents

auto_range
boolean
Example: auto_range=true

Distribute incident counts into starndard date ranges

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

usages

Response samples

Content type
application/json
{
}

Get all incidents

Gets a list of server or check incidents

query Parameters
since
integer

timestamp

until
integer

timestamp

status
string

open|resolved

type
string

check type (possible to pass several comma seperated integers) e.g. 20,21,22

per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

count_only
boolean
Example: count_only=true

Only return count of incidents

auto_range
boolean
Example: auto_range=true

Distribute incident counts into starndard date ranges

metric
boolean
Example: metric=true

true=metric, false=check; dont set to ignore

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

usages

Response samples

Content type
application/json
{
}

Get server open incidents count

Gets open incidents count of a server

path Parameters
id
required
integer

Server ID

Responses

Resolve incident

Manually resolves incident

path Parameters
id
required
integer

Incident ID

Responses

Get incidents heatmap data

Returns data for incidents heatmap

Responses

Get incident data

Returns data for incident

path Parameters
id
required
integer

Incident ID

Responses

Server Checks

Get server checks

Gets a list of server checks

path Parameters
id
required
integer

Server ID

query Parameters
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

checks

Response samples

Content type
application/json
{
}

New server check

Stores a new server check

path Parameters
id
required
integer

Server ID

query Parameters
required
Array of objects

check data

type
required
integer

PING: 20, HTTP: 21, DNS: 22, FTP: 23, SMTP: 24, POP3: 25, IMAP: 26, SSL: 27

Responses

Response samples

Content type
application/json
{
}

Get server checks uptime

Gets uptime of server checks

path Parameters
id
required
integer

Server ID

query Parameters
period
string

one of today|last_week|this_week|last_month|this_month|this_quarter|last_year|this_year

Responses

Response Schema: application/json
Array of objects

checks

Response samples

Content type
application/json
{
}

Get server check graph

Gets graph of a server check

path Parameters
id
required
integer

Server ID

checkId
required
integer

Check ID

graphName
required
string

one of ping|http

Responses

Response Schema: application/json
Array of arrays

graph data

Response samples

Content type
application/json
{
}

Manually discover server checks

Manually discovers server checks

path Parameters
id
required
integer

Server ID

Responses

Response samples

Content type
application/json
{
}

Update server check

Updates a server check

path Parameters
id
required
integer

Server ID

checkId
required
integer

check ID

query Parameters
required
Array of objects

check data

Responses

Response samples

Content type
application/json
{
}

Delete server check

Deletes a server check

path Parameters
id
required
integer

Server ID

checkId
required
integer

Check ID

Responses

Get server checks triggers

Gets a trigger list of server checks

path Parameters
id
required
integer

Server ID

query Parameters
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

triggers

Response samples

Content type
application/json
{
}

Groups

Get list of groups

Returns list of groups

query Parameters
append
string

devices|device_count

Responses

Store new group

Returns group data

query Parameters
name
required
string
parent
integer
Default: 0

Responses

Update existing group

Returns updated group data

path Parameters
id
required
integer

Group id

query Parameters
name
string
parent
integer

Responses

Delete existing group

Deletes a record and returns no content

path Parameters
id
required
integer

Group id

Responses

Update existing group

Returns updated group data

path Parameters
id
required
integer

Group id

query Parameters
name
string
parent
integer

Responses

Heartbeats

Create heartbeat

Creates a new heartbeat

query Parameters
server_id
integer

server->id necessary only if this heartbeat belongs to a specific server

is_agent
bool

set true to create agent heartbeat; do not send otherwise

required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response samples

Content type
application/json
{
}

Update heartbeat

Update a heartbeat

path Parameters
id
required
integer

heartbeat id

query Parameters
required
Array of objects

check details

required
Array of objects

trigger details for the check

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete heartbeat

Deletes a heartbeat

path Parameters
id
required
integer

heartbeat id

Responses

Invoices

Get list of invoices

Returns list of invoices

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

active_status
string
Enum: "active" "inactive"

Active status

paid_status
string
Enum: "paid" "unpaid"

Paid status

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Invoices

total
integer

Number of invoices

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get sum of unpaid invoices

Returns sum of unpaid invoices

Responses

Get invoice information

Returns invoices data

path Parameters
id
required
integer

Invoice ID

query Parameters
pdf
boolean

Export as pdf

Responses

Response Schema: application/json
id
integer

ID

client_id
integer

Client ID

sent
string

Send date

paid
boolean

Paid

amount
number <float>

Amount

amount_unpaid
number <float>

Amount unpaid

account_balance
number <float>

Account balance

cancel_reason
string

Cancel reason

auto_bill
boolean

Auto bill

suspended
boolean

Suspended

period_id
integer

Period ID

cancel_on
integer

Cancel on

suspend_on
integer

Suspend on

service_id
integer

Service ID

client_email
string

Client's email

Response samples

Content type
application/json
{
}

Get list of invoice credits

Returns list of invoice credits

path Parameters
id
required
integer

Invoice ID

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Credits

total
integer

Number of credits

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of invoice options

Returns list of invoice options

path Parameters
id
required
integer

Invoice ID

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Credits

total
integer

Number of options

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of invoice payments

Returns list of invoice payments

path Parameters
id
required
integer

Invoice ID

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Credits

total
integer

Number of payments

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get list of invoice refunds

Returns list of invoice refunds

path Parameters
id
required
integer

Invoice ID

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Credits

total
integer

Number of refunds

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Charge through stripe

Charges credit card through stripe

path Parameters
id
required
integer

Invoice ID

query Parameters
creditcard_id
required
integer
currency
required
string

Responses

API Token

List of API Tokens

Returns a list of clients API Tokens

Responses

Response Schema: application/json
Array of objects

Response samples

Content type
application/json
{
}

New API Token

Creates a new API Token

query Parameters
token_name
required
string
expires_at
string

YYYY-mm-dd HH:ii:ss (e.g. 2022-09-01 01:01:01)

Responses

Response samples

Content type
application/json
{
}

Update API Token

Updates a new API Token

path Parameters
id
required
integer

API Token ID

query Parameters
expires_at
string

YYYY-mm-dd HH:ii:ss (e.g. 2022-09-01 01:01:01)

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete API Token

Deletes an API Token

path Parameters
id
required
integer

API Token ID

Responses

Push Notification

Get pusher notification token

Gets pusher notification token

Responses

Maintenance Schedules

Get maintenance schedules

Gets a list of maintenance schedules

query Parameters
ended
bool

just shows ended maintencance schedules

Responses

Response Schema: application/json
data
any

schedules

recordsFiltered
any

count

Response samples

Content type
application/json
{
}

Get a maintenance schedule

Gets a maintenance schedule

Responses

Update maintenance schedule

Updates a new maintenance schedule

path Parameters
id
required
integer

Maintenance Schedule ID

query Parameters
description
required
string

max 255 characters

start
required
integer

timestamp

end
required
integer

timestamp

public
integer

Responses

Delete a maintenance schedules

Deletes a maintenance schedules

path Parameters
id
required
integer

Maintenance Schedule ID

Responses

Store maintenance schedule

Stores a new maintenance schedule

query Parameters
required
Array of objects
description
required
string

max 255 characters

start
required
integer

timestamp

end
required
integer

timestamp

public
integer

is public (e.g. in status page)

Responses

Response Schema: application/json
any

schedules

Response samples

Content type
application/json
{
}

Bulk edit maintenance schedule checks/servers

Adds/deletes chechs or servers to/from a maintenance schedule

query Parameters
required
Array of objects

Responses

Response Schema: application/json
any

schedules

Response samples

Content type
application/json
{
}

Unassign server from maintenance schedule

Unassigns a server from a maintenance schedule

path Parameters
id
required
integer

Maintenance Schedule ID

serverId
required
integer

Server ID

Responses

Unassign check from maintenance schedule

Unassigns a check from a maintenance schedule

path Parameters
id
required
integer

Maintenance Schedule ID

checkId
required
integer

Check ID

Responses

Get server check maintenance schedules

Gets maintenance schedules of a server checks

path Parameters
id
required
integer

Server ID

checkId
required
integer

Check ID

Responses

Response Schema: application/json
Array of objects

maintenance schedules

Response samples

Content type
application/json
{
}

Get server maintenance schedules

Gets maintenance schedules of a server

path Parameters
id
required
integer

Server ID

Responses

Response Schema: application/json
Array of objects

maintenance schedules

Response samples

Content type
application/json
{
}

Graphs

Get Metric Graphs

Gets Metric Graphs

path Parameters
id
required
integer

Server ID

graphName
required
string

one of cpu-usage|cpu-load-average|disk-usage|memory-usage|disk-io|network

Responses

Response Schema: application/json
Array of arrays

graph data

Response samples

Content type
application/json
{
}

Metric Triggers

Get metric triggers

Gets a list of server metric triggers

path Parameters
id
required
integer

Server ID

query Parameters
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of arrays

triggers

Response samples

Content type
application/json
{
}

New metric trigger

Stores a new metric trigger

path Parameters
id
required
integer

Server ID

query Parameters
required
Array of objects

trigger data

type
required
integer

1: load average, 2: cpu usage, 3: memory usage, 4: disk usage, 5: disk IO, 6: network, 111: nginx, 112: apache, 113: fpm, 114: redis, 115: keydb, 116: supervisor, 117: docker, 118: mysql, 119: mongo, 120: haproxy, 121: service, 122: postgresql, 123: iis

Responses

Response samples

Content type
application/json
{
}

Update metric trigger

Updates a metric trigger

path Parameters
id
required
integer

Server ID

triggerID
required
integer

trigger ID

query Parameters
required
Array of objects

trigger data

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete metric trigger

Deletes a metric trigger

path Parameters
id
required
integer

server OD

triggerID
required
integer

trigger ID

Responses

Server Check Triggers

New server check trigger

Stores a new server check trigger

path Parameters
id
required
integer

Server ID

checkId
required
integer

Check ID

query Parameters
required
Array of objects

trigger data

Responses

Response samples

Content type
application/json
{
}

Update server check trigger

Updates a server check trigger

path Parameters
id
required
integer

Server ID

checkId
required
integer

Check ID

triggerId
required
integer

Trigger ID

query Parameters
required
Array of objects

trigger data

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete server check trigger

Deletes a server check trigger

path Parameters
id
required
integer

Server ID

checkId
required
integer

Check ID

triggerId
required
integer

Trigger ID

Responses

Regions

Get regions

Gets list of regions

Responses

Notification Roles

Get notification roles

Returns a list of notification roles

query Parameters
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

notification roles

Response samples

Content type
application/json
{
}

Store notification roles

Creates a new notification role

query Parameters
name
required
string

role name

repeat_incidents
boolean

repeat incidents

repeat_incidents_interval_in_seconds
integer

repeat incidents interval in seconds

Array of objects

role recipients

Array of objects

Responses

Response samples

Content type
application/json
{
}

Show notification role

Returns a notification role

path Parameters
id
required
integer

Notification Role ID

Responses

Response Schema: application/json
Array of objects

notification role

Response samples

Content type
application/json
{
}

Update notification roles

Updates a notification role

path Parameters
id
required
integer

Notification Role ID

query Parameters
name
required
string

role name

repeat_incidents
boolean

repeat incidents

repeat_incidents_interval_in_seconds
integer

repeat incidents interval in seconds

Array of objects

role recipients

Array of objects

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete notification roles

Deletes a notification role

path Parameters
id
required
integer

Notification Role ID

Responses

Test notification role

Test a new notification role

query Parameters
name
required
string

role name

Array of objects

role recipients

Array of objects

Responses

Response samples

Content type
application/json
{
}

Store notification roles

Creates a new notification role

path Parameters
id
required
integer

Notification Role ID

query Parameters
email
required
string

email to be verified

Responses

Enable push notification for user

Enables push notification for user

path Parameters
id
required
integer

Notification Role ID

Responses

Disable push notification for user

Disables push notification for user

path Parameters
id
required
integer

Notification Role ID

Responses

Bulk Enable push notification for user

Bulk Enables push notification for user

query Parameters
ids
required
Array of arrays

Array of Notification Role IDs

Responses

Bulk Delete push notification for user

Bulk Deletes push notification for user

query Parameters
ids
required
Array of arrays

Array of Notification Role IDs

Responses

Orders

Get orders

Gets a list of orders

query Parameters
status
string

one of pending|completed|canceled

per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

orders

Response samples

Content type
application/json
{
}

New order

Stores a new order

query Parameters
required
Array of objects
code
required
string

one of paid|sms

period_id
required
integer

Responses

Response samples

Content type
application/json
{
}

Get order

Gets an order

path Parameters
id
required
integer

Order ID

Responses

Response Schema: application/json
Array of arrays

order

Response samples

Content type
application/json
{
}

Update order

Updates an order

path Parameters
id
required
integer

Order ID

query Parameters
status
integer

0: canceled, 1: pending, 2: completed

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Get pending orders count

Gets count of pending orders

Responses

Order price

Calculates order price

query Parameters
required
Array of objects
code
required
string

one of paid|sms

period_id
required
integer

Responses

Response samples

Content type
application/json
{
}

Periods

Get list of periods

Returns list of periods

Responses

Response Schema: application/json
Array of objects

Periods

Response samples

Content type
application/json
{
}

Quotations

Get list of quotations

Returns list of quotations

query Parameters
per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

status
string
Enum: "active" "expired"

Status

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

Logs list

total
integer

Number of logs

current_page
integer

Current page

first_page_url
string

Url of first page

last_page_url
string

Url of last page

next_page_url
string

Url of next page

prev_page_url
string

Url of previous page

links
object

Links of related pages

from
string

From

to
string

To

path
string

Path

Response samples

Content type
application/json
{
}

Get quotation information

Returns quotation data

path Parameters
id
required
integer

quotation id

query Parameters
pdf
boolean

Export as pdf

Responses

Response Schema: application/json
id
integer

ID

title
string

Title

note
string

Note

account_manager
integer

Account manager

client_id
integer

Client ID

period_id
integer

Period ID

currency_id
integer

Currency ID

valid_until
string

Valid until

setup_qs
boolean

Setup quantity sensitive

name
string

Client's name

email
string

Client's email

company
string

Client's company

total
number <float>

Total

items
object

Items

account_manager_name
string

Account managers's name

period_name
string

Period's name

send_date
string

Send data

Response samples

Content type
application/json
{
}

Report Email Config

Get report email configs

Get a list of clients configurations for report email

Responses

Response Schema: application/json
Array of objects

Report email configs

Response samples

Content type
application/json
{
}

Get a Report Email Config

Gets clients Report Email Config

path Parameters
id
required
integer

Report Email Config ID

Responses

Response Schema: application/json
Array of objects

Status pages

Response samples

Content type
application/json
{
}

Update report email config

Updates a report email config

path Parameters
id
required
integer

Report Email Config ID

query Parameters
title
required
any
interval
required
any

Email interval (integer in: 1:daily, 2:weekly, 3:monthly)

include_paused_checks
any

boolean

contacts
any

array

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete report email config

Deletes a report email config

path Parameters
id
required
integer

Report Email Config ID

Responses

New report email config

Creates a new report email config

query Parameters
title
required
any
interval
required
any

Email interval (integer in: 1:daily, 2:weekly, 3:monthly)

include_paused_checks
any

boolean

contacts
any

array

Responses

Response samples

Content type
application/json
{
}

Get report email config checks

Gets a list of report email config checks

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

Responses

Response Schema: application/json
Array of arrays

Report email config checks

Response samples

Content type
application/json
{
}

Add/Remove check to/from a report email config

Adds/Removes checks to/from a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

query Parameters
checks
required
Array of arrays

Check IDs

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Get report email config checks in tree format

Gets a list of report email config checks in tree format

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

Responses

Response Schema: application/json
Array of arrays

Report email config checks in the following format: group->subgroup->server->checks

Response samples

Content type
application/json
{
}

Add check to a report email config

Adds a check to a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

query Parameters
check_id
required
integer

Check ID

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Add server checks to a report email config

Adds server checks to a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

query Parameters
device_id
required
integer

Server ID

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Add group checks to a report email config

Adds group checks to a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

query Parameters
group_id
required
integer

Group ID

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete a check from a report email config

Deletes a check from a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

id
required
integer

Check ID

Responses

Delete server checks from a report email config

Deletes server checks from a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

id
required
integer

Server ID

Responses

Delete group checks from a report email config

Deletes group checks from a report email config

path Parameters
reportEmailConfigId
required
integer

Report Email Config ID

id
required
integer

Group ID

Responses

Search

Search

Search

Responses

Services

Get main service

Returns the main service

Responses

Response Schema: application/json
Array of objects

service

Response samples

Content type
application/json
{
}

Update service

Updates a service

query Parameters
cancel_bool
integer

1: Switch to free plan, 0: cancel switch

status
integer

0: canceled, 1: pending, 2: completed

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Get reserved service

Returns the reserved service

Responses

Response Schema: application/json
Array of objects

service

Response samples

Content type
application/json
{
}

Delete reserved service

Deletes reserved service

Responses

Sessions

Get client sessions

Gets a list of client sessions

query Parameters
length
integer

page length, -1: all results

start
integer

Index of first item

Responses

Response Schema: application/json
Array of objects

sessions

Response samples

Content type
application/json
{
}

Delete a client sessions

Deletes a client session

path Parameters
token
required
integer

jwt token

Responses

SMS Credits

Get sum of available sms credits

Returns sum of available sms credits

Responses

Status Page

Get status pages

Get a list of clients status pages

Responses

Response Schema: application/json
Array of objects

Status pages

Response samples

Content type
application/json
{
}

Get a status page

Gets clients status page

path Parameters
id
required
integer

Status Page ID

Responses

Response Schema: application/json
Array of objects

Status pages

Response samples

Content type
application/json
{
}

Update status page

Updates a status page

path Parameters
id
required
integer

Status Page ID

query Parameters
custom_url
any
title
required
any
logo
any

image binary

color
any
theme
any
message
any
password
any
disallow_robots
any
history_in_days
any
link
any
hide_check_type
any
visual_configs
any
meta_tags
any
translations
any

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete status page

Deletes a status page

path Parameters
id
required
integer

Status Page ID

Responses

New status page

Creates a new status page

query Parameters
custom_url
any
title
required
any
color
any
theme
any
message
any
password
any
disallow_robots
any
history_in_days
any
link
any
hide_check_type
any
visual_configs
any
meta_tags
any
translations
any

Responses

Response samples

Content type
application/json
{
}

Get favicon of a status page

Gets favicon of clients status page

path Parameters
id
required
integer

Status Page ID

Responses

Store status page favicon

Stores status page favicon

path Parameters
id
required
integer

Status Page ID

query Parameters
favicon
any

image binary

Responses

Response samples

Content type
application/json
{
}

Validate status page

Validates status page url

query Parameters
url
required
any

Responses

Response samples

Content type
application/json
{
}

Get status page checks

Gets a list of status page checks

path Parameters
statusPageId
required
integer

Status Page ID

Responses

Response Schema: application/json
Array of arrays

Status pages checks

Response samples

Content type
application/json
{
}

Bulk edit checks of a status page

Adds/Deletes checks to/from a status page

path Parameters
statusPageId
required
integer

Status Page ID

query Parameters
checks
required
Array of arrays

Array of Check IDs (pass empty array to delete all checks)

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Get status page checks in tree format

Gets a list of status page checks in tree format

path Parameters
statusPageId
required
integer

Status Page ID

Responses

Response Schema: application/json
Array of arrays

Status pages checks in the following format: group->subgroup->server->checks

Response samples

Content type
application/json
{
}

Add check to a status page

Adds a check to a status page

path Parameters
statusPageId
required
integer

Status Page ID

query Parameters
check_id
required
integer

Check ID

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Add server checks to a status page

Adds server checks to a status page

path Parameters
statusPageId
required
integer

Status Page ID

query Parameters
device_id
required
integer

Server ID

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Add group checks to a status page

Adds group checks to a status page

path Parameters
statusPageId
required
integer

Status Page ID

query Parameters
group_id
required
integer

Group ID

Responses

Response Schema: application/json
message
string

Response samples

Content type
application/json
{
}

Delete a check from a status page

Deletes a check from a status page

path Parameters
statusPageId
required
integer

Status Page ID

id
required
integer

Check ID

Responses

Delete server checks from a status page

Deletes server checks from a status page

path Parameters
statusPageId
required
integer

Status Page ID

id
required
integer

Server ID

Responses

Delete group checks from a status page

Deletes group checks from a status page

path Parameters
statusPageId
required
integer

Status Page ID

id
required
integer

Group ID

Responses

Tickets

Get tickets

Returns a list of tickets

query Parameters
status
integer

available statuses can be obtained from its corresponsing api

state
integer
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of objects

tickets

Response samples

Content type
application/json
{
}

New ticket

Creates a new ticket

query Parameters
body
required
string
subject
required
string

min:4, max:255

priority
required
integer

available priorities can be obtained from its corresponsing api

department_id
required
integer

available departments can be obtained from its corresponsing api

file
file

Responses

Response samples

Content type
application/json
{
}

Get ticket

Returns ticket details

path Parameters
id
required
integer

Ticket ID

Responses

Response Schema: application/json
Array of objects

tickets

Response samples

Content type
application/json
{
}

Get ticket priorities

Returns ticket priorities

Responses

Response Schema: application/json
data
Array of arrays

Response samples

Content type
application/json
{
}

Get list of departments

Returns list of departments

Responses

Response Schema: application/json
Array of objects

Departments

Response samples

Content type
application/json
{
}

Get ticket replies

Returns a list of ticket replies

path Parameters
id
required
integer

Ticket ID

query Parameters
per_page
integer

page length

page
integer

page index

sort
string
Example: sort=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

Responses

Response Schema: application/json
Array of arrays

ticket replies

Response samples

Content type
application/json
{
}

New ticket reply

Creates a new ticket reply

path Parameters
id
required
integer

Ticket ID

query Parameters
body
required
string
file
Array of arrays

Responses

Response Schema: application/json
Array of arrays

ticket reply

message
string

Response samples

Content type
application/json
{
}

Get list of ticket statuses

Returns list of ticket statuses

Responses

Response Schema: application/json
Array of objects

Statuses

Response samples

Content type
application/json
{
}

Trigger

Get all triggers

Returns all triggers

query Parameters
server
integer

server ID

check
integer

check ID

notification_roles
integer

array of notification role IDs

empty_notification_role
integer

set to 1 if you want to retrieve triggers with no notification roles (do not sned notification_roles at the same time)

types
integer

types

per_page
integer

page length

page
integer

page index

sort_by
string
Example: sort_by=id.desc

Sort result

header Parameters
X-Total-Count
boolean

Fetch all rows

X-Only-Count
boolean

Only return count

Responses

Delete triggers

Deletes selected triggers

query Parameters
triggers
required
any

array trigger IDs

Responses

Add/Delete notification role to/from triggers

Adds/Deletes notification role to/from triggers

path Parameters
id
required
integer

Notification role ID

action
required
string

add|delete

query Parameters
triggers
required
any

array trigger IDs

Responses

Uptime

Get uptime

Gets uptime

query Parameters
group_id
string

One groupID (e.g. 3) or several commar seperated groupIDs (e.g. 1,4,5,6)

period
string

one of today|last_week|this_week|last_month|this_month|this_quarter|last_year|this_year

type
integer

PING: 20, HTTP: 21, DNS: 22, FTP: 23, SMTP: 24, POP3: 25, IMAP: 26

status
string

up|down|pause|maintenance

Responses

Get SSL uptime

Gets SSL uptime

query Parameters
group_id
string

One groupID (e.g. 3) or several commar seperated groupIDs (e.g. 1,4,5,6)

period
string

one of today|last_week|this_week|last_month|this_month|this_quarter|last_year|this_year

Responses

Get uptime report

Returns uptime report

query Parameters
group_id
string

One groupID (e.g. 3) or several commar seperated groupIDs (e.g. 1,4,5,6)

start_report
integer

timestamp

end_report
integer

timestamp

period
integer

today|last_weekthis_week|last_month|this_month|this_quarter|last_year|this_year (do not send start_report and end_report if sending this)

pdf
integer

set to 1 for pdf report

Responses