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

Add Account Domain

This document contains details for adding a domain to an account via the /api/v1/account/{accountUuid}/domain endpoint, including requirements and request/response examples.

Use this endpoint to add a new domain if domain adding is enabled. The domain must be resolvable and must not be assigned to another account.

Endpoint

Method

POST

Request URL

/api/v1/account/{accountUuid}/domain

Headers

Authorization *

Bearer TOKEN

Content-Type

application/json

Request

accountUuid *

Target account UUID

Body

Request example

{
  "domain": "google.com"
}

Response example

{
    "uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "accountUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "domain": "google.com",
    "status": "UNVERIFIED"
}

The created domain starts with the UNVERIFIED status. Continue with Verify Account Domain.

Response status codes

Code
Description

200

Success

400

Bad request

401

Not authorized

403

Forbidden

409

Domain is already in use

Last updated

Was this helpful?