跳转到主要内容
Webhook

重置 Signing Secret

重置验签密钥

POST
/api/v1/agentstudio/webhook_endpoints/{id}/reset_secret
cURL
curl --request POST \
  --url 'https://dashscope.aliyuncs.com/api/v1/agentstudio/webhook_endpoints/{id}/reset_secret' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "id": "wep_01JXX7YQGPRPV1BZXA35QE7WDP",
  "signing_secret": "whsec_new_xxx",
  "updated_at": "2026-08-06T10:35:00Z",
  "request_id": "8e1d16e4"
}

鉴权

string
header
必填

DashScope API Key

路径参数

string
必填

Webhook ID,格式 wep_<ULID>

响应

200-application/json
string
string

新的验签密钥,格式 whsec_ 加标准 Base64 文本。仅在本次响应返回

string
string