Connect sending domain
Connect a sending domain to the profile so emails can be sent from addresses on it.
Connect a sending domain to the profile so emails can be sent from addresses on it.
Connecting does not make the domain ready to send: check the DNS status endpoint next for
records that are still missing. A domain the account owns or has already verified connects
immediately. Any other domain starts a TXT ownership verification and returns 409;
complete the verification in Reach, then retry. Returns 422 when the profile or another
profile already has the domain, the domain is blocked, or its ownership cannot be verified.
An already connected domain is never replaced.
On success the sender address of draft and scheduled campaigns, and of published automation
and double opt-in emails, moves onto the new domain in the background, keeping the part
before the @.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Sending domain to connect to the profile
example.comSuccess empty response
Request acceptedUnauthenticated response
Conflict response. Retry-After, when present, is the number of seconds to wait before retrying.
Validation error response
Error response
POST /api/reach/v1/profiles/{profileUuid}/domains HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"domain": "example.com"
}{
"message": "Request accepted"
}Last updated
Was this helpful?