> 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.md).

# 사용자 생성하기\_v1

<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: 체크 안함) |

### 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><strong>응답 데이터</strong></td></tr></tbody></table>

#### data 상세

<table><thead><tr><th width="181">항목</th><th width="110">타입</th><th>설명</th></tr></thead><tbody><tr><td>inserted_members</td><td>int</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": "tuser",
      "email": "tuser@exosp.com",
      "isNotEmailTypeValid": "N",
      "departmentFull": "test"
    }
  ]
}'
 
{
  "code": 0,
  "message": "success",
  "body": {
    "total": 1,
    "data": [
      {
        "inserted_members": 1
      }
    ]
  }
}
```

{% endtab %}

{% tab title="Untitled" %}

{% endtab %}
{% endtabs %}
