> For the complete documentation index, see [llms.txt](https://openapi-docs.exosp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openapi-docs.exosp.com/guide/organization/post-member-1.md).

# 사용자 생성하기

<mark style="background-color:green;">POST</mark> `https://openapi.exosp.com/organization/v1/member`

사용자 정보를 생성하는 API 입니다.

### Request Body <a href="#query-parameters" id="query-parameters"></a>

| 항목                                                     | 타입     | 설명                                            |
| ------------------------------------------------------ | ------ | --------------------------------------------- |
| name<mark style="color:red;">\*</mark>                 | string | **사용자 이름**                                    |
| email<mark style="color:red;">\*</mark>                | string | **사용자 메일**                                    |
| departmentFull<mark style="color:red;">\*</mark>       | string | **그룹 전체 경로**                                  |
| isNotEmailTypeValid                                    | string | **아이디에 대한 이메일 형태 체크여부**(Y: 유효성 체크함, N: 체크 안함) |
| sendInstallationMail<mark style="color:red;">\*</mark> | string | **설치 메일 발송 여부(Y/N)**                          |

### Response Schema

<table><thead><tr><th width="162">항목</th><th width="115">타입</th><th>설명</th></tr></thead><tbody><tr><td>code</td><td>int</td><td><p><strong>응답 처리 결과 코드</strong> </p><p>0 : 성공, 1 : 실패</p></td></tr><tr><td>message</td><td>string</td><td><p><strong>응답 처리 결과 메세지</strong></p><p>success : 성공, 그 외 : 실패</p></td></tr><tr><td>body</td><td>object</td><td><a data-mention href="#body">#body</a></td></tr></tbody></table>

#### **body 상세**

<table><thead><tr><th width="164">항목</th><th width="115">타입</th><th>설명</th></tr></thead><tbody><tr><td>total</td><td>int</td><td><strong>전체 레코드 수</strong></td></tr><tr><td>data</td><td>array</td><td><a data-mention href="#data">#data</a></td></tr></tbody></table>

#### data 상세

<table><thead><tr><th width="181">항목</th><th width="110">타입</th><th>설명</th></tr></thead><tbody><tr><td>name</td><td>string</td><td><strong>사용자 이름</strong></td></tr><tr><td>email</td><td>string</td><td><strong>사용자 메일</strong></td></tr><tr><td>departmentFull</td><td>string</td><td><strong>그룹 전체 경로</strong></td></tr><tr><td>inserted</td><td>string</td><td><strong>등록 여부</strong></td></tr><tr><td>mailSent</td><td>string</td><td><strong>메일 발송 여부</strong></td></tr><tr><td>errorMessage</td><td>string</td><td><strong>오류 메시지</strong></td></tr></tbody></table>

### Example

{% tabs %}
{% tab title="200 Success" %}

```javascript
curl -X 'POST' \
  'https://openapi.exosp.com/organization/v1/member' \
  -H 'accept: application/json' \
  -H 'x-exosp-access: YOUR_ACCESS_KEY' \
  -H 'x-exosp-secret: YOUR_ACCESS_SECRET' 
  -d '{
  "memberList": [
    {
      "name": "test12345",
      "email": "test12345@exosp.com",
      "isNotEmailTypeValid": "N",
      "departmentFull": "test",
      "sendInstallationMail": "Y"
    }
  ]
}'
 
{
  "code": 0,
  "message": "success",
  "body": {
    "total": 1,
    "data": [
      {
        "name": "test12345",
        "email": "test12345@exosp.com",
        "departmentFull": "dev-ys > dev-ysmoon",
        "inserted": false,
        "mailSent": false,
        "errorMessage": "Email already exists"
      }
    ]
  }
}
```

{% endtab %}

{% tab title="Untitled" %}

{% endtab %}
{% endtabs %}
