---
title: "POST /BatchGetTargetDomains"
method: POST
path: "/BatchGetTargetDomains"
---

# POST /BatchGetTargetDomains

`POST /BatchGetTargetDomains`

Retrieves information about one or more target domains.

## Request body

- object
  - `targetDomainIds` String[], required — List of target domain IDs.

## Response `200`

Success

- BatchGetTargetDomainsOutput — Output for the BatchGetTargetDomains operation.
  - `targetDomains` TargetDomain[] — The list of target domains that were found.
    - `targetDomainId` string, required — The unique identifier of the target domain.
    - `domainName` string, required — The domain name of the target domain.
    - `verificationStatus` 'PENDING' | 'VERIFIED' | 'FAILED' | 'UNREACHABLE' — The current verification status of the target domain.
    - `verificationStatusReason` string — The reason for the current target domain verification status.
    - `verificationDetails` object — The verification details for the target domain.
      - `method` 'DNS_TXT' | 'HTTP_ROUTE' | 'PRIVATE_VPC' — The verification method used for the target domain.
      - `dnsTxt` object — The DNS TXT verification details.
        - `token` string — The verification token to include in the DNS record value.
        - `dnsRecordName` string — The name of the DNS record to create for verification.
        - `dnsRecordType` 'TXT' — The type of DNS record to create. Currently, only TXT is supported.
      - `httpRoute` object — The HTTP route verification details.
        - `token` string — The verification token to serve at the specified route path.
        - `routePath` string — The HTTP route path where the verification token must be served.
    - `createdAt` string, date-time — The date and time the target domain was created, in UTC format.
    - `verifiedAt` string, date-time — The date and time the target domain was verified, in UTC format.
  - `notFound` String[] — The list of target domain identifiers that were not found.

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
