# 获取模板列表

### 域名
* https://api.incsapp.com

### 请求路由
* /external/templates

### 请求方式
* **GET**

### 请求头
* certification-code: f484bd42-4a0c-39d....

### 请求参数
#### 请求参数列表

|参数名|类型| 必填| 描述|
|-|-|-|-|
|last_id|string|否|上一页的最后一条数据 template_id
|count|int|否|每页数据量，默认10，最大为100条
|with_analytics|bool|否|设置为 true 查看模板发送数据分析

### 响应
#### 成功响应示例
* 响应说明参见**模板资源说明**
```json
{
    "status": "success",
    "code": 200,
    "message": "",
    "data": [
        {
            "template_id": "4166201267033543",
            "name": "test_api_2",
            "language": "en_US",
            "category": "MARKETING",
            "status": "PENDING",
            "quality": "",
            "components": [
                {
                    "type": "BODY",
                    "text": "A API test template without variables"
                }
            ],
            "created_time": 1755076188,
            "updated_time": 1755077570,
            "status_updated_time": 1755077464,
            "quality_updated_time": 0,
            "category_updated_time": 0,
            "analytics": {
                "sent": 898,
                "delivered": 2334,
                "read": 873,
                "failed": 188
            }
        }
    ],
    "error": {}
}
```