POST
/
sites
Create a new site
curl --request POST \
  --url https://api.watchmantower.com/public/v1/sites \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "url": "<string>",
  "protocol": "http",
  "timeout": 15000,
  "checkInterval": 43215,
  "parentGroup": "<string>"
}'
"<any>"
Create a new monitoring site in your account.

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required
url
string
required
protocol
enum<string>
required
Available options:
http,
https
timeout
integer
default:15000

Timeout in milliseconds

checkInterval
integer

Check interval in seconds

Required range: 30 <= x <= 86400
parentGroup
string

Response

Yeni site başarıyla oluşturuldu.

The response is of type any.