For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get connected sending domain

Get the sending domain connected to the profile, its verification status and any suspended sender addresses.

Get connected sending domain

get

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.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
Responses
200

Success response

application/json

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.

domainstring · nullableOptional

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.

Example: mail.example.com
statusstring · enum · nullableOptional

Campaigns can only be sent while the domain is active.

Example: activePossible values:
created_atstring · date-time · nullableOptional

When the domain was connected to the profile.

Example: 2025-01-01T00:00:00Z
updated_atstring · date-time · nullableOptional

When the domain or its verification state last changed.

Example: 2025-01-15T10:30:00Z
get/api/reach/v1/profiles/{profileUuid}/domains
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?