Skip to main content
GET
/
domains
/
{domain}
Get Domain
curl --request GET \
  --url https://app.uselettr.com/api/domains/{domain} \
  --header 'Authorization: <api-key>'
{
"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"
}
}

Authorizations

Authorization
string
header
required

API key for authentication. Format: Bearer {api_key}

Path Parameters

domain
string
required

The domain name to retrieve

Example:

"example.com"

Response

Domain retrieved successfully

Response containing a single domain with full details

message
string
required

Human-readable response message

Example:

"Domain retrieved successfully."

data
object
required

Detailed view of a single domain