Get connected sending domain
Get the sending domain connected to the profile, its verification status and any suspended sender addresses.
Get the sending domain connected to the profile, its verification status and any suspended sender addresses.
Campaigns only go out once a domain is connected and active, so this is the cheapest way to
check that precondition before building one. A profile with no domain connected returns the
same shape with every field set to null. For the individual MX, SPF, DKIM and DMARC records
behind the status, use the DNS status endpoint.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Success response
The sending domain connected to the profile.
When no domain is connected every field is null and suspended_sender_emails is empty,
so the shape stays the same whether or not the profile is set up for sending.
Domain campaigns are sent from. It may be a subdomain of the domain that was connected, so it will not always match the website domain.
mail.example.comCampaigns can only be sent while the domain is active.
activePossible values: When the domain was connected to the profile.
2025-01-01T00:00:00ZWhen the domain or its verification state last changed.
2025-01-15T10:30:00ZUnauthenticated response
Error response
GET /api/reach/v1/profiles/{profileUuid}/domains HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"domain": "mail.example.com",
"status": "active",
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-15T10:30:00Z",
"suspended_sender_emails": [
{
"email": "newsletter@example.com",
"email_local_part": "newsletter",
"suspended_at": "2025-01-15T10:30:00Z"
}
]
}Last updated
Was this helpful?