# Export meeting details

Export meeting details. For specific permission requirements, please refer to "Resource introduction".

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/vc/v1/exports/meeting_list
HTTP Method | POST
Rate Limit | [100 per minute](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App、Store App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.** | Export video meeting information(vc:export)
Required field scopes | **Notice**：The response body of the API contains the following sensitive fields, and they will be returned only after corresponding scopes are added. If you do not need the fields, it is not recommended that you request the scopes.<br>Obtain user ID(contact:user.employee_id:readonly)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>or<br>`user_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer u-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"

### Query parameters

Parameter | Type | Required | Description
---|---|---|---
user_id_type | string | No | User ID categories<br>**Example value**: open_id<br>**Optional values are**:<br>- open_id：Identifies a user to an app. The same user has different Open IDs in different apps. [How to get Open ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-openid)<br>- union_id：Identifies a user to a tenant that acts as a developer. A user has the same Union ID in apps developed by the same developer, and has different Union IDs in apps developed by different developers. A developer can use Union ID to link the same user's identities in multiple apps.[How to get Union ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-union-id)<br>- user_id：Identifies a user to a tenant. The same user has different User IDs in different tenants. In one single tenant, a user has the same User ID in all apps （including store apps）. User ID is usually used to communicate user data between different apps. [How to get User ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-user-id)<br>**Default value**: `open_id`<br>**When the value is `user_id`, the following field scopes are required**:<br>Obtain user ID(contact:user.employee_id:readonly)

### Request body

Parameter | Type | Required | Description
---|---|---|---
start_time | string | Yes | Query start time (unix time, unit sec)<br>**Example value**: "1655276858"
end_time | string | Yes | Query end time (unix time, unit sec)<br>**Example value**: "1655276858"
meeting_status | int | No | Meeting status (defaults to ended meeting if not passed on)<br>**Example value**: 2<br>**Optional values are**:<br>- 1：in progress<br>- 2：It has ended.<br>- 3：to be held
meeting_no | string | No | Filter by 9-digit meeting number (up to one filter)<br>**Example value**: "123456789"
user_id | string | No | Filter by participating Lark users (up to one filter)<br>**Example value**: "ou_3ec3f6a28a0d08c45d895276e8e5e19b"
room_id | string | No | Filter by Rooms (maximum one filter)<br>**Example value**: "omm_eada1d61a550955240c28757e7dec3af"
meeting_type | int | No | Filter by meeting type (up to one filter)<br>**Example value**: 2<br>**Optional values are**:<br>- 1：All types (default)<br>- 2：video conferencing<br>- 3：share screen

### Request body example
```json
{
    "start_time": "1655276858",
    "end_time": "1655276858",
    "meeting_status": 2,
    "meeting_no": "123456789",
    "user_id": "ou_3ec3f6a28a0d08c45d895276e8e5e19b",
    "room_id": "omm_eada1d61a550955240c28757e7dec3af",
    "meeting_type": 2
}
```

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-
task_id | string | Task id

### Response body example
```json
{
    "code": 0,
    "msg": "success",
    "data": {
        "task_id": "7111325589855797267"
    }
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
500 | 121001 | internal error | Internal server error. If retry still doesn't work, contact the administrator.
400 | 121002 | not support | This function is not supported.
400 | 121003 | param error | Parameter error. Check the value range of parameters (please check yourself according to the field description above).
404 | 121004 | data not exist | The requested data doesn't exist.
403 | 121005 | no permission | No permission. Check the token type, operator identity and resource.

