---
title: "POST /v2/domains"
method: POST
path: "/v2/domains"
tags: ["domains"]
---

# POST /v2/domains

`POST /v2/domains`

[Developer Preview](https://developers.google.com/workspace/preview): Adds a domain to the user's account. Returns INVALID_ARGUMENT if a domain is not provided. Returns ALREADY_EXISTS if the domain is already registered by the user.

## Request body

- CreateDomainRequest — [Developer Preview](https://developers.google.com/workspace/preview): Request message for CreateDomain.
  - `domainId` string — Required. The domain to add. e.g., "example.com"

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/gmailpostmastertools.md) · [All operations](https://skmtc.dev/google/apis/gmailpostmastertools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/gmailpostmastertools/revisions/ee090f4a0797/schema)
