获取模板列表
域名
请求路由
请求方式
请求头
- Content-Type: application/json
- certification-code: f484bd42-4a0c-39d....
请求参数
请求参数列表
| 参数名 |
类型 |
必填 |
描述 |
| last_id |
string |
否 |
上一页的最后一条数据 template_id |
| count |
int |
否 |
每页数据量,默认10,最大为100条 |
请求参数示例
{
"name": "test_api_2",
"language": "en_US",
"category": "MARKETING",
"components": [
{
"type": "BODY",
"text": "A API test template, first variable: {{1}}, second variable: {{2}}",
"example": {
"body_text": [
[1, 2]
]
}
},
{
"type": "FOOTER",
"text": "Good night"
}
]
}
响应
成功响应示例
{
"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
}
],
"error": {}
}