- Open API
- Quick Start
- About Pagination
- Member Management
- Team Management
- Schedule Management
- Information Retrieval
- Preference Settings
- Channel
- Template Management
- Incident Management
- Group View
- Match conditions
- Enable rule
- Disable rule
- Delete rule
- Rule list
- See creation interface for filters explanation
- Create rule
- Rule description
- Update rule
- Channel
- Match conditions
- Match conditions
- Update rule
- Channel
- Rule ID
- Inner conditions
- Enable rule
- Rule list
- Rule details
- Rule name
- Rule description
- Match conditions
- Rule description
- See creation interface for filters explanation
- Disable rule
- Rule description
- Alert Management
- Change Management
- Insights (old)
- Custom Fields
- Service Calendar
- Label Enhancement
- Alert Processing
- Integration Routing
- License Management
- Insights
- Event API
- Webhook
Name
POST
/template/list
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params application/json
query
string
Channel
team_id
integer
Required when updating
creator_id
integer
Rule name
is_my_team
boolean
Inner conditions
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/template/list' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200成功
application/json
Body
error
object
optional
code
string
required
message
string
required
data
object
optional
has_next_page
boolean
required
items
array[object (Template) {18}]
required
Example
{
"error": {
"code": "string",
"message": "string"
},
"data": {
"has_next_page": true,
"items": [
{
"template_id": "string",
"team_id": 0,
"account_id": 0,
"template_name": "string",
"description": "string",
"email": "string",
"sms": "string",
"feishu": "string",
"dingtalk": "string",
"wecom": "string",
"feishu_app": "string",
"dingtalk_app": "string",
"wecom_app": "string",
"status": "enabled",
"creator_id": 0,
"updated_by": 0,
"created_at": 0,
"updated_at": 0
}
]
}
}
Modified at 2025-01-22 10:14:38