DomainMonitorController

Create domain monitor

post/domain-monitor/monitors

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/domain-monitor/monitors
  • Auth: API key in header x-api-key

Request body

domainstring required
namestring nullable

Optional display name

intervalSecondsinteger nullable

Check interval in seconds

enabledboolean nullable

Whether scheduled monitor runs are enabled (legacy alias for schedulingEnabled)

schedulingEnabledboolean nullable

Whether scheduled monitor runs are enabled. Direct run-now is always permitted.

Example request

{
  "domain": "example.com",
  "name": "Primary Domain",
  "intervalSeconds": 300
}

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.