cURL
curl --request GET \ --url https://app.uselettr.com/api/domains/{domain} \ --header 'Authorization: <api-key>'
200
Example
{ "message": "Domain retrieved successfully.", "data": { "domain": "example.com", "status": "approved", "status_label": "Approved", "can_send": true, "cname_status": "valid", "dkim_status": "valid", "tracking_domain": "tracking.example.com", "dns": { "dkim": { "selector": "scph0123", "public": "MIGfMA0GCSqGSIb3DQEBA..." } }, "created_at": "2024-01-15T10:30:00+00:00", "updated_at": "2024-01-16T14:45:00+00:00" }}
Retrieve details of a single sending domain including DNS records and tracking domain configuration.
API key for authentication. Format: Bearer {api_key}
Bearer {api_key}
The domain name to retrieve
"example.com"
Domain retrieved successfully
Response containing a single domain with full details
Human-readable response message
"Domain retrieved successfully."
Detailed view of a single domain
Show child attributes