You can create, update, query, and delete chat configurations for platforms such as DingTalk.
Operation description
Request Description
This API manages chatbot settings for instant messaging tools such as DingTalk, allowing you to create, update, retrieve, and delete chat configurations. You can use this API to implement fine-grained permission control for different users or user groups, specify a RAM role to execute operations, and add tags to each configuration for management and categorization.
When you call this API, ensure that the provided RegionId, ConversationId, and all parameters in the request body are accurate. Exercise caution when you handle sensitive information, such as the ClientId and ClientSecret fields. Do not disclose them to unauthorized parties.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
oos:CreateChatConfiguration | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | Region ID. | cn-hangzhou |
Name | string | No | Configuration name. | chatops |
Type | string | No | Chat platform type. Valid values:
| DingTalk |
RamRole | string | No | RAM role name. | AliyunOOSDefaultRole |
Configuration | string | No | Chatbot configuration information in JSON format. | ("DingTalkTemplateId": "template-123", "DingTalkClientId": "client-123", "DingTalkClientSecret": "secret-123"} |
ResourceGroupId | string | No | Resource group ID. | rg-acfmxsn4m4****** |
Response elements
Element | Type | Description | Example |
object | Details of a successful response. | ||
RequestId | string | Request ID. | 4DB0****1234 |
| ChatConfiguration | object | Details of the chat configuration. | {"Name": "TestChatConfig-9be97b40", "CreatedDate": "2025-12-11T13:49:10+00:00", "UpdatedDate": "2025-12-11T13:59:02+00:00"} |
Name | string | Name of the chat configuration. | TestChatConfig-9be97b40 |
CreatedDate | string | Creation time of the chat configuration. | 2025-12-11T13:49:10+00:00 |
UpdatedDate | string | Last update time of the chat configuration. | 2025-12-11T13:59:02+00:00 |
Examples
Success response
JSON format
{
"RequestId": "4DB0****1234",
"ChatConfiguration": {
"Name": "TestChatConfig-9be97b40",
"CreatedDate": "2025-12-11T13:49:10+00:00",
"UpdatedDate": "2025-12-11T13:59:02+00:00"
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.