Keplars
Domains

Trigger domain verification

POST
/api/v1/public/domains/verify-domain/{domainID}

Manually triggers a DNS verification check for the domain. Useful for polling after DNS records have been added. Returns the updated verification status. Requires domains:manage scope.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token authentication. Use a Regular API key for email sending, or an Admin API key for marketing and automation endpoints.

Get your API keys from Settings → API Keys (regular) or Settings → Admin API Keys (admin) in the dashboard.

In: header

Path Parameters

domainID*string

Domain ID to verify.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.keplars.com/api/v1/public/domains/verify-domain/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "success": true,
  "message": "Success",
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "domain": "string",
    "status": "pending",
    "message": "Domain verification successful",
    "verified_at": "2019-08-24T14:15:22Z",
    "checks": {}
  }
}
{
  "success": false,
  "error": "VALIDATION_ERROR",
  "message": "Field 'to' is required"
}
{
  "success": false,
  "error": "VALIDATION_ERROR",
  "message": "Field 'to' is required"
}
{
  "success": false,
  "error": "VALIDATION_ERROR",
  "message": "Field 'to' is required"
}