Domains

Get domain by ID

Fetch a domain and its DNS records, refreshing verification status.

GET/api/v1/domains/%7Bid%7D
cURL
curl -X GET "https://inboundr.net/api/v1/domains/{id}" \
  -H "Authorization: Bearer $INBOUNDR_API_KEY"

Returns the domain with its DNS records. If the domain is still pending, this call also triggers a fresh verification check.

idstringpathrequired

The domain id (dom_…).

Example response

200
{
  "id": "dom_123",
  "domain": "yourdomain.com",
  "status": "verified",
  "catchAllEndpointId": null,
  "dkimTokens": ["token1", "token2", "token3"],
  "dnsRecords": [
    { "type": "MX", "name": "yourdomain.com", "value": "…", "priority": 10 }
  ]
}
Returns 404 if the domain doesn't exist or isn't yours.