Domains
Get Domain
Retrieve details of a single sending domain including DNS records and tracking domain configuration.
get/domains/{domain}
Request
- Base URL: https://app.lettr.com/api
- URL: https://app.lettr.com/api/domains/{domain}
- Auth: HTTP bearer
Path parameters
domainstring required
Example:example.com
The domain name to retrieve
Response
Domain retrieved successfully
Example response
{
"message": "Domain retrieved successfully.",
"data": {
"domain": "example.com",
"status": "approved",
"status_label": "Approved",
"can_send": true,
"cname_status": "valid",
"dkim_status": "valid",
"dmarc_status": "valid",
"spf_status": "valid",
"tracking_domain": "tracking.example.com",
"dns": {
"dkim": {
"selector": "scph0123",
"public": "MIGfMA0GCSqGSIb3DQEBA...",
"headers": "from:to:subject:date"
}
},
"dns_provider": {
"provider": "cloudflare",
"provider_label": "Cloudflare",
"nameservers": [
"ns1.example.com",
"ns2.example.com"
]
},
"created_at": "2024-01-15T10:30:00+00:00",
"updated_at": "2024-01-16T14:45:00+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.