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

# POST /spaces

`POST /spaces`

Creates an AWS re:Post Private private re:Post.

## Request body

- object
  - `name` string, password, required — The name for the private re:Post. This must be unique in your account.
  - `subdomain` string, required — The subdomain that you use to access your AWS re:Post Private private re:Post. All custom subdomains must be approved by AWS before use. In addition to your custom subdomain, all private re:Posts are issued an AWS generated subdomain for immediate use.
  - `tier` 'BASIC' | 'STANDARD', required — The pricing tier for the private re:Post.
  - `description` string, password — A description for the private re:Post. This is used only to help you identify this private re:Post.
  - `userKMSKey` string — The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't provide a key, your data is encrypted by default with a key that AWS owns and manages for you.
  - `tags` object — The list of tags associated with the private re:Post.
  - `roleArn` string — The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
  - `supportedEmailDomains` object — <p/>
    - `enabled` 'ENABLED' | 'DISABLED' — <p/>
    - `allowedDomains` EmailDomain[] — <p/>

## Response `200`

Success

- CreateSpaceOutput
  - `spaceId` string, required — The unique ID of the private re:Post.

## Other responses

- `480` — ServiceQuotaExceededException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ConflictException
- `484` — ResourceNotFoundException
- `485` — ThrottlingException
- `486` — InternalServerException

---

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