---
id: "en/api-post-nd-api-enterprise-create-department"
title: "Create corporate division"
language: "en"
description: "POST /nd/api/enterprise/create_department: Create enterprise department interface description, including path, method, parameters and return information."
canonical_url: "https://www.babel.cc/public/babelwiki/en/api-post-nd-api-enterprise-create-department.html"
markdown_url: "https://www.babel.cc/public/babelwiki/ai/en/api-post-nd-api-enterprise-create-department.md"
alternates: {"en": "https://www.babel.cc/public/babelwiki/ai/en/api-post-nd-api-enterprise-create-department.md", "zh": "https://www.babel.cc/public/babelwiki/ai/zh/api-post-nd-api-enterprise-create-department.md"}
reading_note: "文档记录不等于当前部署能力；以实际版本、授权模块与配置为准。保留原文的可选、限制及待确认说明，勿补猜接口。 / Documentation is not a guarantee for every deployment. Preserve optional-module requirements, limitations and unresolved API contracts."
---

# Create corporate division

`POST /nd/api/enterprise/create_department`

## POST body parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `parent_dep` | `string` | Required parent ID; 0 means root level |
| `name` | `string` | Required department name |
| `description` | `string` | Optional description |

## Response

Fields listed in the source: `department`, `code`, `sucess`.

The source spells the flag sucess, unlike success elsewhere. Confirm the actual deployment response; do not silently change the wire contract.

## Calling the Endpoint

Use `Authorization: Bearer <access_token>`. GET parameters belong in the URL query; normal business POST requests use JSON. Check HTTP status and then the business result. Confirm array serialization and ambiguous types with the deployment instead of inventing fields.

[Authentication](https://www.babel.cc/public/babelwiki/en/developer-api-auth.html) · [API overview](https://www.babel.cc/public/babelwiki/en/developer-api-overview.html)
