Skip to content

/monitors (POST)

POST
/monitors
curl --request POST \
--url https://culipulse.dev/v1/monitors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "API health", "type": "http", "target": "https://api.example.com/health", "interval_seconds": 60 }'
Media typeapplication/json
object
name
required
string
Example
API health
type
string
Example
http
target
string
Example
https://api.example.com/health
interval_seconds
number
Example
60

Created

Media typeapplication/json
object
id
required
string
status
required
string
Examplegenerated
{
"id": "example",
"status": "example"
}

Invalid request

Media typeapplication/json
object
error
required
string
request_id
string
Example
{
"error": "not found",
"request_id": "req_abc123"
}