# ppt转json(免费

**方法**: `POST`
**路径**: `/docmee/v1/api/pptjson/ppt2json`

## 请求参数

### Header 参数

```text
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}
```

### Body 参数 multipart/form-data

```text
file
string
必需
示例:
test.pptx
uploadImage
string
必需
示例:
false
```

## 请求示例代码

### Shell

```bash
curl --location --request POST '/docmee/v1/api/pptjson/ppt2json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--form 'file="test.pptx"' \
--form 'uploadImage="false"'
```

## 返回响应

### 🟢 200 成功

**内容类型**: `application/json`

#### 响应结构

```text
object
```

#### 示例

```json
{
    "width": 960,
    "height": 540,
    "pages": [], // 页面结构数据
    "font": [], // 字体数据
    "slideMasters": [], // 母版结构数据
    "version": "1.0"
}
```
