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

Connect sending domain

Connect a sending domain to the profile so emails can be sent from addresses on it.

Connect sending domain

post

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 @.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
Body

Sending domain to connect to the profile

domainstring · max: 255RequiredExample: example.com
Responses
200

Success empty response

application/json
messagestringOptionalExample: Request accepted
post/api/reach/v1/profiles/{profileUuid}/domains
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?