Skip to main content
POST
Create service monitor

Authorizations

Authorization
string
header
required

API token generated from your PulseGuard dashboard

Body

application/json
name
string
required

Service monitor name

Example:

"API Health Check"

type
enum<string>
required

Type of monitoring

Available options:
http,
tcp,
ping,
dns
Example:

"http"

url
string<uri>
required

URL or endpoint to monitor

Example:

"https://api.example.com/health"

check_interval
integer
default:5

Check interval in minutes

Required range: 1 <= x <= 60
timeout
integer
default:30

Timeout in seconds

Required range: 1 <= x <= 300

Response

Service monitor created successfully

success
boolean
required
Example:

true

message
string
required

Success message

data
object

Response data as object