POST
/
v2
/
domains
Create domain
curl --request POST \
  --url https://app.pulseguard.nl/api/v2/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "example.com",
  "url": "https://example.com"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "url": "<string>",
    "status": "up",
    "response_time": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}
This endpoint allows you to add a new domain to your account for monitoring.

Body

url
string
required
The full URL of the domain you want to monitor (e.g., https://example.com).
domain_name
string
An optional custom name for this domain.
dns_monitoring_enabled
boolean
Enable DNS monitoring. Defaults to true.

Authorizations

Authorization
string
header
required

API token generated from your PulseGuard dashboard

Body

application/json

Response

201
application/json

Domain created successfully

The response is of type object.