GET
/
domains
curl --request GET \
  --url https://api.customeros.ai/domains \
  --header 'X-CUSTOMER-OS-API-KEY: <api-key>'
{
  "domains": [
    {
      "createdDate": "<string>",
      "domain": "<string>",
      "expiredDate": "<string>",
      "nameservers": [
        "<string>"
      ]
    }
  ],
  "requestId": "1234567890abcdef",
  "status": "success"
}

Authorizations

X-CUSTOMER-OS-API-KEY
string
header
required

Response

200
application/json
Successfully retrieved domain list

Response containing list of domains and status

domains
object[]

List of domains required: true

Comprehensive domain record information

requestId
string
Example:

"1234567890abcdef"

status
string

Status indicates the result of the operation ("success" or "error")

Example:

"success"