Domains

Get a link domain

One link domain with the DNS records to publish: the CNAME pointing at SMTPfast, and any TXT ownership record Cloudflare offers. Shows the state from the last check; refresh asks Cloudflare again. Not in Resend. Requires the domain:read scope.

get/v1/link-domains/{id}

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/link-domains/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The link domain ID

Response

The link domain

objectstring required
idstring required
hostnamestring required
domain_idstring nullable required

The sending domain the hostname sits under.

domainstring nullable required
status'pending' | 'active' | 'failed' required

pending until Cloudflare sees the CNAME record and issues the certificate, then active. failed means it will not become active without a change on your side (last_error says why); fix it and refresh. Mail uses the link domain only while it is active.

ssl_statusstring nullable required

The certificate status Cloudflare reports, for troubleshooting.

last_errorstring nullable required

Why the link domain is not active yet, when Cloudflare says.

verified_atstring date-time nullable required

When it first became active.

last_checked_atstring date-time nullable required
created_atstring date-time required

Example response

{
  "object": "link_domain",
  "id": "cmlink123",
  "hostname": "links.example.com",
  "domain": "example.com",
  "ssl_status": "pending_validation",
  "dns_records": [
    {
      "type": "CNAME",
      "name": "links.example.com",
      "value": "links.smtpfa.st",
      "ttl": "Auto",
      "purpose": "Points the link domain at SMTPfast"
    }
  ]
}

Changes

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