Add a Watchdog target
Starts uptime checks and security scans of a website for a customer. A customer can have each domain once.
Deprecated aliases: POST https://one.vigilbase.com/api/customers/{id}/watchdog/targets. They answer with the same bodies, with a Deprecation header and a successor-version link to this URL.
Authorizations
Send one of these:
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login. Scope: one:api.
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Needs a key with write access: read-only keys get 403 with the code read_only_key. See organisation API keys.
Vigilbase Identity access token issued to an MCP client (mcp.vigilbase.com). Scope: one:write.
Path Parameters
Headers
A unique key for this write (a UUID is recommended). A retry with the same key and body returns the first answer (draft-ietf-httpapi-idempotency-key-header-08).
Body
application/jsonA public hostname; private and reserved names are refused.
truetruehttphttpstcpdnsicmpDefault:"https"60minimum 30maximum 360010minimum 5maximum 60Defaults to the offered ones of nyc, lon and sgp.
2000minimum 100maximum 300005000minimum 100maximum 60000hourlydailyweeklyDefault:"daily"Response
application/jsonSuccess
hourly, daily or weekly.
manual, cloudflare, import, api, …
8 child attributes
Null when the last check is stale or unknown.
2 response headers
The request ID: yours when it was well-formed, otherwise a new one. Quote it to support.
The major API version (informational; the version is in the path).
More about this endpoint in the guide.