---
title: Add company members
description: POST /nd/api/enterprise/add_ent_mem: Add enterprise member interface description, including path, method, parameters and return information.
slug: api-post-nd-api-enterprise-add-ent-mem
lang: en
category: Enterprise API
category_order: 8
order: 148
api_method: POST
api_path: /nd/api/enterprise/add_ent_mem
api_label: Add company members
keywords:
  - API
  - Add company members
  - /nd/api/enterprise/add_ent_mem
---

# Add company members

| Properties | Values |
| --- | --- |
| HTTP method | `POST` |
| Interface path | `/nd/api/enterprise/add_ent_mem` |
| Category | Enterprise API |

## Interface description

Interface path: `/nd/api/enterprise/add_ent_mem`

HTTP method: `POST`


**HTTP method:** `POST`

#### POST request body parameters

Parameter name Comment (description)
email Email mailbox string
password password string
enterprise_role enterprise member role, optional number
department_ids[] The user's department, optional string[]
department_roles[] Roles in the department, optional string[]
sex 0 - not set 1 - male 2 - female number
name username string
phone mobile phone number, optional string
babelId employee ID, optional string
spacelimit personal space limit, unit GB, 0 means no limit number
can_ownfile whether the user can have personal files, -1 - use the overall enterprise settings, 0 - no personal files, 1 - have personal files number
remarks user description, optional string
join_time The time when the user joined the enterprise, Unix time, unit number seconds
password_is_md5 Whether the incoming password requires md5 encryption, 0 non-md5 password, 1 md5 encrypted password number

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Enterprise API.
