# Add talents to folder

Add talents to the specified folder.

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/hire/v1/talents/add_to_folder
HTTP Method | POST
Rate Limit | [1000 per minute & 50 per second](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.**<br>Enable any scope from the list | Update talent information(hire:talent)<br>操作人才加入/移除文件夹(hire:talent_folder_association)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)
Content-Type | string | Yes | **Fixed value**: "application/json; charset=utf-8"

### Request body

Parameter | Type | Required | Description
---|---|---|---
talent_id_list | string\[\] | Yes | Talent ID List, which can be queried through the [Get talent list](https://open.larkoffice.com/document/server-docs/hire-v1/candidate-management/talent/list) interface<br>**Example value**: ["7039620186502138157"]<br>**Data validation rules**:<br>- Length range: `1` ～ `200`
folder_id | string | Yes | Folder ID, which can be queried through the [Get talent folder information](https://open.larkoffice.com/document/server-docs/hire-v1/candidate-management/talent/list-2) interface<br>**Example value**: "7039620186502138156"

### Request body example
```json
{
    "talent_id_list": [
        "7039620186502138157"
    ],
    "folder_id": "7039620186502138156"
}
```

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-
talent_id_list | string\[\] | Talent ID List
folder_id | string | Folder ID

### Response body example
```json
{
    "code": 0,
    "msg": "success",
    "data": {
        "talent_id_list": [
            "7039620186502138157"
        ],
        "folder_id": "7039620186502138156"
    }
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
500 | 1002001 | System error | Check if the imported parameters are valid
400 | 1002002 | Parameter illegal | Check that the imported parameter format is correct

