---
title: "Create a sub-account community associated with a user."
method: POST
path: "/v0.2.4/sub-account/community/create"
tags: ["SubAccount"]
---

# Create a sub-account community associated with a user.

`POST /v0.2.4/sub-account/community/create`

## Request body

- object
  - `id` string, required — SubAccount ID.
  - `community` object, required — Community payload.
    - `communityID` integer, required
    - `name` string, required
    - `membershipID` string, required
    - `memberName` string, required
    - `voucherCode` string, nullable
    - `communityType` string, required

## Response `200`

Success.

- object
  - `status` string
  - `message` string
  - `data` object

## Other responses

- `400` — Validation error in the request.
- `401` — Access to this resource is not available for unauthenticated users.
- `403` — Access to this resource is forbidden.
- `500` — Indicates an internal server error.

---

[API](https://skmtc.net/chimoney/apis/chimoney-api-docs.md) · [All operations](https://skmtc.net/chimoney/apis/chimoney-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chimoney/chimoney-api-docs/revisions/227751df36a0/schema)
