---
title: "POST /v1/subaccount/create"
method: POST
path: "/v1/subaccount/create"
tags: ["SubaccountService"]
---

# POST /v1/subaccount/create

`POST /v1/subaccount/create`

创建子账号

## Request body

- ApiSubaccountV1CreateSubaccountRequest — 创建子账号请求
  - `department` string
  - `displayName` string
  - `email` string
  - `modelIds` string[]
  - `monthlyLimitMicros` string
  - `password` string
  - `phone` string
  - `position` string
  - `teamId` string
  - `toolCategories` string[]
  - `username` string

## Response `200`

OK

- ApiSubaccountV1CreateSubaccountReply — 创建子账号响应
  - `teamMemberId` string
  - `userId` string
  - `username` string

---

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